Skip to content
Snippets Groups Projects
Commit cfdd3068 authored by Jory Lafaye's avatar Jory Lafaye
Browse files

A minor bug with parenthesis (did not affect the program behavior)

parent f5d44b9b
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ SupportFSM::set_support_state(double Time, unsigned int Pi,
Support.NbInstants = 0;
}
//DS->SS
else if((Support.Phase == DS && ReferenceGiven) || (Support.Phase == DS && Support.NbStepsLeft) > 0)
else if((Support.Phase == DS && ReferenceGiven) || (Support.Phase == DS && Support.NbStepsLeft > 0))
{
Support.Phase = SS;
Support.TimeLimit = Time+Pi*T_+StepPeriod_-T_/10.0;
......
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