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

Fix time counters

parent ffc931e5
......@@ -147,9 +147,10 @@ namespace hpp
}
dc.link2_ = bodyName_1;
dc.link1_ = bodyName_2;
HPP_STOP_TIMECOUNTER(is_collision_pair_disabled);
return std::binary_search (sortedDisabledCollisions_.begin (),
bool ret = std::binary_search (sortedDisabledCollisions_.begin (),
sortedDisabledCollisions_.end (), dc, disabledCollisionComp_);
HPP_STOP_TIMECOUNTER(is_collision_pair_disabled);
return ret;
}
bool
......
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