Skip to content

Commit e125b35

Browse files
authored
Merge pull request #75 from orsoromeo/fix-stance-duration
[TotalDurationConstraint::GetBounds] change variable type definition
2 parents b97571c + 82e768c commit e125b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

towr/src/total_duration_constraint.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ TotalDurationConstraint::GetBounds () const
5959
{
6060
// TODO hacky and should be fixed
6161
// since last phase is not optimized over these hardcoded numbers go here
62-
int min_duration_last_phase = 0.2;
62+
double min_duration_last_phase = 0.2;
6363
return VecBound(GetRows(), ifopt::Bounds(0.1, T_total_-min_duration_last_phase));
6464
}
6565

0 commit comments

Comments
 (0)