Skip to content
Snippets Groups Projects
Commit c279d318 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

Add the constraints for t=0

parent 1c4645cc
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ T_time computeDiscretizedTime(const VectorX& phaseTimings, const int pointsPerPh
T_time timeArray;
double t = 0;
double t_total = phaseTimings.sum();
timeArray.push_back(std::make_pair(0.,0));
for(int i = 0 ; i < phaseTimings.size() ; ++i)
{
double step = (double) phaseTimings[i] / pointsPerPhase;
......
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