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 a4aa44cc authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

Pull request #237: bugfix powertrain position helper - parsing position

Merge in VECTO/vecto-dev from VECTO/mq_vecto-dev:develop to develop

* commit '487c64e8':
  bugfix powertrain position helper - parsing position
parents 39f088b9 487c64e8
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ namespace TUGraz.VectoCommon.InputData
}
if (prefix.Equals("B", StringComparison.InvariantCultureIgnoreCase) || prefix.Equals("E", StringComparison.InvariantCultureIgnoreCase)) {
return (BatteryElectricPrefix + prefix + pos.Replace("B", "E")).ParseEnum<PowertrainPosition>();
return (BatteryElectricPrefix + (prefix + pos).Replace("B", "E")).ParseEnum<PowertrainPosition>();
}
throw new VectoException("invalid powertrain position {0}", pos);
......
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