Skip to content

Commit

Permalink
revert 20715
Browse files Browse the repository at this point in the history
 there, some issues with clang build


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20716 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Vitalij Ruge committed May 20, 2014
1 parent e72e4df commit b1c14f7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Compiler/FrontEnd/ExpressionSimplify.mo
Expand Up @@ -4032,13 +4032,6 @@ algorithm
true = Expression.expEqual(e1,e2);
then Expression.makeBuiltinCall("sqrt",{e1},DAE.T_REAL_DEFAULT);

// e^a/e = e^(a-1)
case (_,DAE.DIV(ty = _),DAE.BINARY(e1,op1 as DAE.POW(ty), e2), e3,_,_)
equation
true = Expression.expEqual(e1,e3);
e4 = DAE.BINARY(e2,DAE.SUB(ty), DAE.RCONST(1.0));
then DAE.BINARY(e1,op1, e4);

// 1 ^ e => 1
case (_,DAE.POW(ty = _),e1,_,true,_)
equation
Expand Down

0 comments on commit b1c14f7

Please sign in to comment.