Skip to content

Commit

Permalink
- circumvent bug in MetaModelica/RML use else_ instead of _else as it…
Browse files Browse the repository at this point in the history
… seems the .srz parser has some issues

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13356 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Oct 12, 2012
1 parent e563d84 commit 1aa9316
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/BackEnd/BackendDAEOptimize.mo
Expand Up @@ -11955,10 +11955,10 @@ end simplifyIfEquationAsserts1;

protected function makeIfExp
input DAE.Exp cond;
input DAE.Exp _else;
input DAE.Exp else_;
output DAE.Exp oExp;
algorithm
oExp := DAE.IFEXP(cond,DAE.BCONST(true),_else);
oExp := DAE.IFEXP(cond,DAE.BCONST(true),else_);
end makeIfExp;

protected function countEquationsInBranches "
Expand Down

0 comments on commit 1aa9316

Please sign in to comment.