Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 18748d6b authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

change check for end of pto cycle. relevant if pto cycle does not start at time 0

parent b3f79c60
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
public Second GetNextCycleTime()
{
if (CycleIterator.LastEntry && AbsTime.IsEqual(CycleIterator.RightSample.Time)) {
if (CycleIterator.LastEntry && AbsTime.IsEqual(Duration)) {
return null;
}
......
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