Skip to content
Snippets Groups Projects
Commit 78e7193c authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Update to modification in hpp-core

  WeighedDistance::create -> WeighedDistance::createWithWeight.
parent 6301dfe1
No related branches found
No related tags found
Loading
......@@ -182,7 +182,8 @@ int main (int , char**) {
proj->add (NumericalConstraint::create (c));
cs->addConstraint (proj);
ProblemPtr_t problem (new Problem (r));
WeighedDistancePtr_t dist = WeighedDistance::create (r, list_of (1)(1));
WeighedDistancePtr_t dist = WeighedDistance::createWithWeight
(r, list_of (1)(1));
problem->distance (dist);
SteeringMethodPtr_t sm (SteeringMethodStraight::create (problem));
const WeighedDistance& d = *dist;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment