Commit 63b6b8c5 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

[ConvexShapeContactComplement] Fix method isEqual.

parent 39322553
Pipeline #17459 passed with stage
in 10 minutes and 59 seconds
......@@ -362,7 +362,8 @@ namespace hpp {
<const ConvexShapeContactComplement&>(other);
if (!DifferentiableFunction::isEqual(other))
return false;
return (*sibling_ != *(castother.sibling_));
if (sibling_ == castother.sibling_) return true;
return (*sibling_ == *(castother.sibling_));
}
std::pair < ConvexShapeContactPtr_t,
......
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