Commit 95a27ab4 authored by Martin Felis's avatar Martin Felis
Browse files

fixed memory error of sphere-capsule tests when using unpatched fcl

parent 5952532e
......@@ -160,7 +160,9 @@ BOOST_AUTO_TEST_CASE(Sphere_Capsule_Distance_test_collision)
Capsule capsule (50, 200.);
Transform3f capsule_transform (Vec3f (0., 0., 100));
BOOST_CHECK (!solver.shapeDistance(sphere1, sphere1_transform, capsule, capsule_transform, NULL));
FCL_REAL distance;
BOOST_CHECK (!solver.shapeDistance(sphere1, sphere1_transform, capsule, capsule_transform, &distance));
}
BOOST_AUTO_TEST_CASE(Sphere_Capsule_Distance_test_separated)
......
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