Skip to content

Commit

Permalink
- removed the not needed extra parentheses (these only parse in mmc b…
Browse files Browse the repository at this point in the history
…ut not in omc).

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@4703 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Dec 16, 2009
1 parent 5bf1a88 commit 89f8150
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Compiler/Inst.mo
Expand Up @@ -9255,13 +9255,13 @@ algorithm (cr,cond) := matchcontinue(m)
DAE.EqMod eq;
DAE.Exp e;
Option<tuple<Absyn.Exp,Boolean>> aoe;
case(DAE.NAMEMOD(inputVar,(mod = DAE.MOD(eqModOption = SOME(eq as DAE.TYPED(modifierAsExp=e))))))
case(DAE.NAMEMOD(inputVar,mod = DAE.MOD(eqModOption = SOME(eq as DAE.TYPED(modifierAsExp=e)))))
equation
then (inputVar,DAE.NO_DERIVATIVE(e));
case(DAE.NAMEMOD(inputVar,(mod = DAE.MOD(eqModOption = NONE))))
case(DAE.NAMEMOD(inputVar,mod = DAE.MOD(eqModOption = NONE)))
equation
then (inputVar,DAE.NO_DERIVATIVE(DAE.ICONST(1)));
case(DAE.NAMEMOD(inputVar,(mod = DAE.MOD(eqModOption = NONE)))) // zeroderivative
case(DAE.NAMEMOD(inputVar,mod = DAE.MOD(eqModOption = NONE))) // zeroderivative
then (inputVar,DAE.ZERO_DERIVATIVE);

case(_) then ("",DAE.ZERO_DERIVATIVE);
Expand Down

0 comments on commit 89f8150

Please sign in to comment.