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@22381 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Sep 21, 2014
1 parent aa6621c commit e46df41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/FrontEnd/ExpressionSimplify.mo
Expand Up @@ -4247,7 +4247,7 @@ algorithm
then DAE.BINARY(e1,DAE.MUL(ty), e);
// e1/tan(e2) => e1*cot(e2)
case(_,DAE.DIV(ty),e1,DAE.CALL(path=Absyn.IDENT("tan"),expLst={e2}),_,_)
equation
equation
e= Expression.makePureBuiltinCall("cot",{e2},ty);
then DAE.BINARY(e1,DAE.MUL(ty), e);
// sinh(e)/cosh(e) => tan(e)
Expand All @@ -4267,7 +4267,7 @@ algorithm
then DAE.BINARY(e1,DAE.MUL(ty), e);
// e1/tanh(e2) => e1*coth(e2)
case(_,DAE.DIV(ty),e1,DAE.CALL(path=Absyn.IDENT("tanh"),expLst={e2}),_,_)
equation
equation
e= Expression.makePureBuiltinCall("coth",{e2},ty);
then DAE.BINARY(e1,DAE.MUL(ty), e);

Expand Down

0 comments on commit e46df41

Please sign in to comment.