further refactoring of variable names

This commit is contained in:
Dennis Luxen 2013-09-20 13:09:33 +02:00
parent 0ef4f36d44
commit 375c81d38d

View File

@ -228,8 +228,12 @@ public:
if(ed.shortcut) {//unpack if(ed.shortcut) {//unpack
const NodeID middle_node_id = ed.id; const NodeID middle_node_id = ed.id;
//again, we need to this in reversed order //again, we need to this in reversed order
recursion_stack.push(std::make_pair(middle_node_id, edge.second)); recursion_stack.push(
recursion_stack.push(std::make_pair(edge.first, middle_node_id)); std::make_pair(middle_node_id, edge.second)
);
recursion_stack.push(
std::make_pair(edge.first, middle_node_id)
);
} else { } else {
BOOST_ASSERT_MSG(!ed.shortcut, "edge must be shortcut"); BOOST_ASSERT_MSG(!ed.shortcut, "edge must be shortcut");
unpacked_path.push_back(edge.first ); unpacked_path.push_back(edge.first );