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@22778 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Oct 16, 2014
1 parent 9c27862 commit f9f64b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Compiler/SimCode/SimCodeUtil.mo
Expand Up @@ -3666,7 +3666,7 @@ protected function createNonlinearResidualExp_2
input DAE.Exp iExp2;
output DAE.Exp resExp;
algorithm

resExp := matchcontinue(iExp1, iExp2)
local DAE.Exp e;
case(_,_)
Expand All @@ -3688,7 +3688,7 @@ end createNonlinearResidualExp_2;

protected function createNonlinearResidualExp_3
"author Vitalij
helper: createNonlinearResidualExp_2
helper: createNonlinearResidualExp_2
swaps args"
input DAE.Exp iExp1;
input DAE.Exp iExp2;
Expand Down Expand Up @@ -3722,7 +3722,7 @@ algorithm
// abs(f(x)) = 0.0 -> f(x) = 0
case(DAE.CALL(path = Absyn.IDENT("abs"), expLst={e1}), DAE.RCONST(0.0))
then e1;
// semiLinear(0,e1,e2) = 0 -> e1 - e2 = 0
// semiLinear(0,e1,e2) = 0 -> e1 - e2 = 0
case(DAE.CALL(path = Absyn.IDENT("semiLinear"), expLst={DAE.RCONST(0.0), e1, e2}), DAE.RCONST(0.0))
equation
res = Expression.expSub(e1,e2);
Expand Down Expand Up @@ -3763,7 +3763,7 @@ protected function createNonlinearResidualExp_4
output Boolean resB;

algorithm
resB := match(f)
resB := match(f)
//case("abs") then true;
case("sqrt") then true;
case("exp") then true;
Expand All @@ -3772,7 +3772,7 @@ algorithm
//case("atan") then true;
//case("atan2") then true;
case("der") then true;
else then false;
else then false;
end match;

end createNonlinearResidualExp_4;
Expand Down

0 comments on commit f9f64b5

Please sign in to comment.