Skip to content

Commit

Permalink
Merge pull request #75 from orsoromeo/fix-stance-duration
Browse files Browse the repository at this point in the history
[TotalDurationConstraint::GetBounds] change variable type definition
  • Loading branch information
awinkler authored Jun 17, 2020
2 parents b97571c + 82e768c commit e125b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion towr/src/total_duration_constraint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ TotalDurationConstraint::GetBounds () const
{
// TODO hacky and should be fixed
// since last phase is not optimized over these hardcoded numbers go here
int min_duration_last_phase = 0.2;
double min_duration_last_phase = 0.2;
return VecBound(GetRows(), ifopt::Bounds(0.1, T_total_-min_duration_last_phase));
}

Expand Down

0 comments on commit e125b35

Please sign in to comment.