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@20725 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed May 21, 2014
1 parent 6520d2f commit c063e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/ExpressionSimplify.mo
Expand Up @@ -4031,7 +4031,7 @@ algorithm
equation
true = Expression.expEqual(e1,e2);
then Expression.makeBuiltinCall("sqrt",{e1},DAE.T_REAL_DEFAULT);
// x^y/x => x^(y-1)
// x^y/x => x^(y-1)
case (_,DAE.DIV(ty = _),DAE.BINARY(e1,op1 as DAE.POW(ty), e2), e3,_,_)
equation
true = Expression.expEqual(e1,e3);
Expand Down
4 changes: 2 additions & 2 deletions Compiler/Template/CodegenCpp.tpl
Expand Up @@ -10208,12 +10208,12 @@ case MODELINFO(vars=SIMVARS(__)) then

void <%lastIdentOfPath(name)%>::getString(string* z)
{
<%System.tmpTickReset(0)%>
<%vars.stringAlgVars |> var => giveVariablesDefault(var, System.tmpTick()) ;separator="\n"%>
<%vars.stringParamVars |> var => giveVariablesDefault(var, System.tmpTick()) ;separator="\n"%>
<%vars.stringAliasVars |> var => giveVariablesDefault(var, System.tmpTick()) ;separator="\n"%>
}

void <%lastIdentOfPath(name)%>::setReal(const double* z)
Expand Down

0 comments on commit c063e82

Please sign in to comment.