diff --git a/src/graph/graph.cc b/src/graph/graph.cc index 4cbc0c42d44c78b48cac1c854e10dd3abc94530d..37f1813777ea26a3dcaf81d1e6df6df21b57c1d2 100644 --- a/src/graph/graph.cc +++ b/src/graph/graph.cc @@ -86,7 +86,7 @@ namespace hpp { { Edges_t edges; for (Nodes_t::const_iterator it = nodes.begin(); - it == nodes.end(); it++) + it != nodes.end(); it++) edges.push_back( (*it)->nodeSelector().lock()->chooseEdge(*it) ); return edges; }