Skip to content

Commit

Permalink
fix name clash if a Modelica model uses a variable pow (#3268)
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25505 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
rfranke committed Apr 11, 2015
1 parent 9fdfa27 commit 305ab23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenCpp.tpl
Expand Up @@ -11748,7 +11748,7 @@ template daeExpBinary(Operator it, Exp exp1, Exp exp2, Context context, Text &pr
case SUB(__) then '(<%e1%> - <%e2%>)'
case MUL(__) then '(<%e1%> * <%e2%>)'
case DIV(__) then '(<%e1%> / <%e2%>)'
case POW(__) then 'pow(<%e1%>, <%e2%>)'
case POW(__) then 'std::pow(<%e1%>, <%e2%>)'
case AND(__) then '(<%e1%> && <%e2%>)'
case OR(__) then '(<%e1%> || <%e2%>)'
case MUL_ARRAY_SCALAR(ty=T_ARRAY(dims=dims)) then
Expand Down

0 comments on commit 305ab23

Please sign in to comment.