Skip to content

Commit

Permalink
fix in cpp template for semiLinear call
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20658 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
niklwors committed May 16, 2014
1 parent 5f86b0d commit 98dddec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenCpp.tpl
Expand Up @@ -7310,7 +7310,7 @@ template daeExpCall(Exp call, Context context, Text &preExp /*BUFP*/,
case CALL(path=IDENT(name="semiLinear"), expLst={e1,e2,e3}, attr=attr as CALL_ATTR(__)) then
let var1 = daeExp(e1, context, &preExp, &varDecls,simCode)
let var2 = daeExp(e2, context, &preExp, &varDecls,simCode)
let var3 = daeExp(e2, context, &preExp, &varDecls,simCode)
let var3 = daeExp(e3, context, &preExp, &varDecls,simCode)
'semiLinear(<%var1%>,<%var2%>,<%var3%>)'

case CALL(path=IDENT(name="max"), expLst={array}) then
Expand Down

0 comments on commit 98dddec

Please sign in to comment.