We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b97571c + 82e768c commit e125b35Copy full SHA for e125b35
towr/src/total_duration_constraint.cc
@@ -59,7 +59,7 @@ TotalDurationConstraint::GetBounds () const
59
{
60
// TODO hacky and should be fixed
61
// since last phase is not optimized over these hardcoded numbers go here
62
- int min_duration_last_phase = 0.2;
+ double min_duration_last_phase = 0.2;
63
return VecBound(GetRows(), ifopt::Bounds(0.1, T_total_-min_duration_last_phase));
64
}
65
0 commit comments