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

Skip to content
Snippets Groups Projects
Commit e21d1338 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

sort full-load curve entries (both, engine and gearbox)

parent c25d300f
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Data
} else {
tmp = PT1Curve.Create(data);
}
entriesFld.Sort((entry1, entry2) => entry1.EngineSpeed.Value().CompareTo(entry2.EngineSpeed.Value()));
return new FullLoadCurve { FullLoadEntries = entriesFld, PT1Data = tmp };
}
......
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