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

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

revert wrong code-change

parent e569f91a
No related branches found
No related tags found
No related merge requests found
......@@ -348,7 +348,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
private Radian ComputeGradient(Meter ds)
{
var cycleIterator = CycleIntervalIterator.Clone();
while (Right.Distance < PreviousState.Distance + ds && !cycleIterator.LastEntry) {
while (cycleIterator.RightSample.Distance < PreviousState.Distance + ds && !cycleIterator.LastEntry) {
cycleIterator.MoveNext();
}
var leftSamplePoint = cycleIterator.LeftSample;
......
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