Skip to content

Commit 257f828

Browse files
committed
+ Fix Build.
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24580 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 7b6e7e2 commit 257f828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Compiler/Template/CodegenC.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ template crefMacroSubsAtEndParNew(ComponentRef cr)
11141114
let nosubfullpath = contextCref(crefStripSubs(cr),contextSimulationNonDiscrete, &auxFunction)
11151115
let totnrdims = listLength(crefDims(cr))
11161116
let dimstr = crefDims(cr) |> dim => dimension(dim) ;separator=", "
1117-
let substr = SimCodeUtil.generatesubpalceholders(cr)
1117+
let substr = SimCodeUtil.generateSubPalceholders(cr)
11181118
let &subsDimThread = buffer "" /*BUFD*/
11191119
<<
11201120
#define <%nosubfullpath%>_index(<%substr%>) (&<%nosubfullpath%>)[calc_base_index_dims_subs(<%totnrdims%>, <%dimstr%>, <%substr%>)]
@@ -1127,7 +1127,7 @@ template crefMacroSubsAtEndVarNew(ComponentRef cr)
11271127
let nosubfullpath = contextCref(crefStripSubs(cr),contextSimulationNonDiscrete, &auxFunction)
11281128
let totnrdims = listLength(crefDims(cr))
11291129
let dimstr = crefDims(cr) |> dim => dimension(dim) ;separator=", "
1130-
let substr = SimCodeUtil.generatesubpalceholders(cr)
1130+
let substr = SimCodeUtil.generateSubPalceholders(cr)
11311131
let &subsDimThread = buffer "" /*BUFD*/
11321132
<<
11331133
#define <%nosubfullpath%>_index(<%substr%>) (&<%nosubfullpath%>)[calc_base_index_dims_subs(<%totnrdims%>, <%dimstr%>, <%substr%>)]

0 commit comments

Comments
 (0)