Commit ffc931e5 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix bug when comparing disabled collision pairs

parent 6b0da6b6
......@@ -140,7 +140,7 @@ namespace hpp
{
int res_link1 = c1.link1_.compare (c2.link1_);
if (res_link1 == 0)
return c2.link2_.compare (c2.link2_) > 0;
return c1.link2_.compare (c2.link2_) > 0;
else
return res_link1 > 0;
}
......
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