Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 09f24910 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

removed unused code

parent f308fb44
No related branches found
Tags milestones/1.1-beta1
No related merge requests found
......@@ -87,17 +87,7 @@ namespace TUGraz.VectoCore.InputData.Reader.ComponentData
if (!extendLossMap) {
return new TransmissionLossMap(entries, gearRatio, gearName);
}
var orig = "";
entries.ForEach(
x =>
orig +=
string.Format("{0},{1},{2}" + Environment.NewLine, x.InputSpeed.AsRPM, x.InputTorque.Value(), x.TorqueLoss.Value()));
entries = ExtendLossMap(entries);
var extended = "";
entries.ForEach(
x =>
extended +=
string.Format("{0},{1},{2}" + Environment.NewLine, x.InputSpeed.AsRPM, x.InputTorque.Value(), x.TorqueLoss.Value()));
return new TransmissionLossMap(entries, gearRatio, gearName);
}
......
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