Browse Source

Fixed getMextTimeStep to getNextTimeStep

Casper Thule 4 years ago
parent
commit
3ebd2d96aa

+ 1 - 1
DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation.cg.cpp/src/be/uantwerpen/ansymo/semanticadaptation/cg/cpp/generation/ControlConditionSwitch.xtend

@@ -153,7 +153,7 @@ class ControlConditionSwitch extends RulesConditionSwitch {
 	{
 		var retVal = new ReturnInformation();
 		retVal.type = SVType.Real;
-		retVal.code = '''getMextTimeStep(«object.fmu.name»)''';
+		retVal.code = '''getNextTimeStep(«object.fmu.name»)''';
 		return retVal;
 	}
 }