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

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

initiliased weightingFactors with defaults

parent 10f3e3a1
No related branches found
No related tags found
No related merge requests found
...@@ -240,6 +240,11 @@ namespace TUGraz.VectoCore.OutputData.XML ...@@ -240,6 +240,11 @@ namespace TUGraz.VectoCore.OutputData.XML
modelData.EngineData.RatedPowerDeclared); modelData.EngineData.RatedPowerDeclared);
} }
_weightingFactors = WeightingGroup == WeightingGroup.Unknown
? ZeroWeighting
: DeclarationData.WeightingFactors.Lookup(WeightingGroup);
InstantiateReports(modelData); InstantiateReports(modelData);
ManufacturerRpt.Initialize(modelData, fuelModes); ManufacturerRpt.Initialize(modelData, fuelModes);
......
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