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

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

ElectricMotorMapReader: corrected typo in exception text

parent 8dba28c7
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ namespace TUGraz.VectoCore.InputData.Reader.ComponentData {
var negTorque = torquesMinRpm.Where(x => x.Torque <= 0).OrderBy(x => x.Torque).ToList();
if (negTorque.Count < 2) {
throw new VectoException(
"Failed to generate electrip power map - at least two negative entries are required");
"Failed to generate electric power map - at least two negative entries are required");
}
var (k, d) = VectoMath.LeastSquaresFitting(negTorque.Take(numEntriesExtrapolationFitting), x => x.Torque.Value(),
......
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