Commit 6c5449e3 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

fix error in unit test roadmap

parent 64dbc6d4
......@@ -82,7 +82,7 @@ BOOST_AUTO_TEST_CASE (Roadmap1) {
Problem p = Problem (robot);
SteeringMethodStraightPtr_t sm = SteeringMethodStraight::create (&p);
// create roadmap
hpp::core::DistancePtr_t distance (WeighedDistance::create
hpp::core::DistancePtr_t distance (WeighedDistance::createWithWeight
(robot, boost::assign::list_of (1)(1)));
RoadmapPtr_t r = Roadmap::create (distance, robot);
......@@ -306,7 +306,7 @@ BOOST_AUTO_TEST_CASE (nearestNeighbor) {
Problem p (robot);
SteeringMethodStraightPtr_t sm = SteeringMethodStraight::create (&p);
// create roadmap
hpp::core::DistancePtr_t distance (WeighedDistance::create
hpp::core::DistancePtr_t distance (WeighedDistance::createWithWeight
(robot, boost::assign::list_of (1)(1)));
RoadmapPtr_t r = Roadmap::create (distance, robot);
......
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