Skip to content
Snippets Groups Projects
Commit 2516e643 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix bug regarding class pathProjector::Dichotomy

parent 76b3dbf1
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ namespace hpp { ...@@ -124,7 +124,7 @@ namespace hpp {
if (!projPath || projPath->length () == 0) return false; if (!projPath || projPath->length () == 0) return false;
} }
GraphPathValidationPtr_t pathValidation (problem_.pathValidation ()); GraphPathValidationPtr_t pathValidation (problem_.pathValidation ());
pathValidation->validate (path, false, validPath); pathValidation->validate (projPath, false, validPath);
if (validPath->length () == 0) if (validPath->length () == 0)
addFailure (PATH_VALIDATION, edge); addFailure (PATH_VALIDATION, edge);
else { else {
......
...@@ -54,7 +54,9 @@ namespace hpp { ...@@ -54,7 +54,9 @@ namespace hpp {
} }
res->appendPath (part); res->appendPath (part);
} }
proj = res;
} }
assert (proj);
return true; return true;
} }
} // namespace manipulation } // namespace manipulation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment