Skip to content

Commit

Permalink
Fixed compile bug in older versions of metamodelicacompiler.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2790 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed May 8, 2007
1 parent 018a4e9 commit 2e42104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Derive.mo
Expand Up @@ -697,7 +697,7 @@ algorithm
Exp.RCONST(0.0);

/* Differentiate if-expressions if last argument true */
case (Exp.IFEXP(cond,e1,e2),tv,true) equation
case (Exp.IFEXP(cond,e1,e2),tv,differentiateIfExp as true) equation
e1_1 = differentiateExp(e1, tv,differentiateIfExp);
e2_1 = differentiateExp(e2, tv,differentiateIfExp);
then Exp.IFEXP(cond,e1_1,e2_1);
Expand Down

0 comments on commit 2e42104

Please sign in to comment.