Changeset 25505


Ignore:
Timestamp:
2015-04-11T10:22:36+02:00 (9 years ago)
Author:
rfranke
Message:

fix name clash if a Modelica model uses a variable pow (#3268)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/Template/CodegenCpp.tpl

    r25488 r25505  
    1174911749  case MUL(__) then '(<%e1%> * <%e2%>)'
    1175011750  case DIV(__) then '(<%e1%> / <%e2%>)'
    11751   case POW(__) then 'pow(<%e1%>, <%e2%>)'
     11751  case POW(__) then 'std::pow(<%e1%>, <%e2%>)'
    1175211752  case AND(__) then '(<%e1%> && <%e2%>)'
    1175311753  case OR(__)  then '(<%e1%> || <%e2%>)'
Note: See TracChangeset for help on using the changeset viewer.