Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22065 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Sep 1, 2014
1 parent a66c486 commit 5bb2490
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Compiler/Template/CodegenCpp.tpl
Expand Up @@ -8529,7 +8529,7 @@ template daeExpMatrixName(list<Exp> row,Context context,SimCode simCode)
cref2(cr,false) //daeExpMatrixName2(cr) //assign array complete to the function therefore false as second argument
else
"_"+cref2(cr,false)//daeExpMatrixName2(cr) //assign array complete to function therefore false as second argument
else
else
"NO_ASSIGN"
*/
end daeExpMatrixName;
Expand Down Expand Up @@ -8845,8 +8845,8 @@ template daeExpCall(Exp call, Context context, Text &preExp /*BUFP*/,
let exp = daeExp(inExp, context, &preExp /*BUFC*/, &varDecls /*BUFD*/,simCode,useFlatArrayNotation)
// let constIndex = daeExp(index, context, &preExp /*BUFC*/, &varDecls /*BUFD*/,simCode,useFlatArrayNotation)
'boost::numeric_cast<int>(<%exp%>)'


case CALL(path=IDENT(name="floor"), expLst={inExp}, attr=CALL_ATTR(ty = ty)) then
let exp = daeExp(inExp, context, &preExp /*BUFC*/, &varDecls /*BUFD*/,simCode,useFlatArrayNotation)
//let constIndex = daeExp(index, context, &preExp /*BUFC*/, &varDecls /*BUFD*/,simCode,useFlatArrayNotation)
Expand Down Expand Up @@ -9206,7 +9206,7 @@ template daeExpCall(Exp call, Context context, Text &preExp /*BUFP*/,
let &preExp += '<%tvar%> = delay(<%index%>, <%var1%>, <%var2%>, <%var3%>);<%\n%>'
'<%tvar%>'


case CALL(path=IDENT(name="integer"),
expLst={toBeCasted}) then
let castedVar = daeExp(toBeCasted, context, &preExp /*BUFC*/, &varDecls /*BUFD*/,simCode,useFlatArrayNotation)
Expand Down

0 comments on commit 5bb2490

Please sign in to comment.