diff --git a/src/graph/helper.cc b/src/graph/helper.cc index 920ac1c2831aff130eac8587b47a4998336739a6..cf4b136bf20f56384e50e339e827b50618e05283 100644 --- a/src/graph/helper.cc +++ b/src/graph/helper.cc @@ -1075,7 +1075,7 @@ namespace hpp { graph->stateSelector ( GuidedStateSelector::create ("stateSelector", ps->roadmap ())); - graph->maxIterations (ps->maxIterations ()); + graph->maxIterations (ps->maxIterProjection ()); graph->errorThreshold (ps->errorThreshold ()); graphBuilder (objects, grippers, graph, rules);