Skip to content

Commit 9318f20

Browse files
author
Marcus Walther
committed
- fix typo
1 parent 12df3f8 commit 9318f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/Template/CodegenCpp.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ case modelInfo as MODELINFO(vars=SIMVARS(__)) then
687687
let &varDecls5 = buffer "" /*BUFD*/
688688
let &varDecls6 = buffer "" /*BUFD*/
689689
let &varDecls7 = buffer "" /*BUFD*/
690-
let functionPrefix = if Flags.isSet(Flags.HARDCODED_START_VALUES) then "initialize" else "<%functionPrefix%>"
690+
let functionPrefix = if Flags.isSet(Flags.HARDCODED_START_VALUES) then "initialize" else "check"
691691

692692
let init3 = initValstWithSplit(varDecls3, "Real", '<%lastIdentOfPath(modelInfo.name)%>Initialize::<%functionPrefix%>AlgVars', vars.algVars, simCode, &extraFuncs, &extraFuncsDecl, extraFuncsNamespace, contextOther, stateDerVectorName, useFlatArrayNotation)
693693
let init4 = initValst(varDecls4, "Real", vars.discreteAlgVars, simCode, &extraFuncs, &extraFuncsDecl, extraFuncsNamespace,contextOther, stateDerVectorName, useFlatArrayNotation)

0 commit comments

Comments
 (0)