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

Edge::build returns false when the SteeringMethod fails.

parent 42575d2a
No related branches found
No related tags found
No related merge requests found
...@@ -280,7 +280,7 @@ namespace hpp { ...@@ -280,7 +280,7 @@ namespace hpp {
if (constraints->isSatisfied (q1)) { if (constraints->isSatisfied (q1)) {
if (constraints->isSatisfied (q2)) { if (constraints->isSatisfied (q2)) {
path = (*steeringMethod_->get()) (q1, q2); path = (*steeringMethod_->get()) (q1, q2);
return true; return (bool)path;
} }
hppDout(info, "q2 does not satisfy the constraints"); hppDout(info, "q2 does not satisfy the constraints");
} }
......
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