Commit 77c605ba authored by florent's avatar florent
Browse files

Remove deprecated call to CkwsRoadmapBuilder::penetration().

       * src/hppProblem.cpp.
parent c7fe0565
......@@ -452,8 +452,6 @@ ktStatus ChppProblem::solve()
return KD_ERROR;
}
double penetration = roadmapBuilder()->penetration();
/*
Optimize if
- there is a path optimizer and
......@@ -466,11 +464,11 @@ ktStatus ChppProblem::solve()
// optimizer for the path
if (shouldOptimize) {
if (pathOptimizer()->optimizePath(solutionPath, penetration)
if (pathOptimizer()->optimizePath(solutionPath, attPenetration)
== KD_OK) {
ODEBUG2(":solve: path optimized with penetration "
<< penetration);
<< attPenetration);
}
else {
ODEBUG1(":solve: path optimization failed.");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment