Open GoogleCodeExporter opened 8 years ago
This is an inconsistency between different compilers. I programmed with VC++,
and the
compiler used by Microsoft in VS6.0 doesn't exactly follow the standard cpp
syntax.
So you could make a little bit change on the code from:
for (int i=path_length-2; i>=0 && node_list_in_path.at(i) != deviated_node_id;
--i) {
_RestoreEdges4CostAjustment(node_list_in_path, node_list_in_path.at(i),
node_list_in_path.at(i+1));
}
to:
int i = 0;
for (i=path_length-2; i>=0 && node_list_in_path.at(i) != deviated_node_id; --i)
{
_RestoreEdges4CostAjustment(node_list_in_path, node_list_in_path.at(i),
node_list_in_path.at(i+1));
}
Original comment by yan.qi....@gmail.com
on 25 May 2008 at 6:49
Original issue reported on code.google.com by
a009...@gmail.com
on 21 Apr 2008 at 5:30