Commit 33ff309e authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

[ConvexShapeContact] Compare Joint instances and not pointers.

parent 0edce218
Pipeline #18625 failed with stage
in 1 minute and 2 seconds
......@@ -64,7 +64,7 @@ namespace hpp {
throw std::logic_error(os.str().c_str());
}
}
} else if (js.first != joint){
} else if (*(js.first) != *joint){
std::ostringstream os;
os << "You are trying to build an explicit contact constraint "
"but several joints hold object contact surface: "
......
Supports Markdown
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