Skip to content

Commit

Permalink
- keep branche order for if equations
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14835 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Jan 19, 2013
1 parent 965cf4f commit 2c2db02
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Compiler/BackEnd/BackendDAECreate.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1218,8 +1218,7 @@ algorithm
case ({}, {}, _, _, _, _, _, _)
equation
explst = listReverse(conditions1);
eqnslst = listReverse(theneqns1);
beqnslst = lowerEqnsLst(eqnslst,functionTree,{});
beqnslst = lowerEqnsLst(theneqns1,functionTree,{});
(beqns,breqns,bieqns) = lowerEqns(elseenqs,functionTree,{},{},{});
beqns = List.flatten({beqns,breqns,bieqns});
then
Expand Down Expand Up @@ -1267,8 +1266,7 @@ algorithm
case(DAE.BCONST(true), _, _, _, _, {}, {}, _, _, _)
equation
explst = listReverse(conditions1);
eqnslst = listReverse(theneqns1);
beqnslst = lowerEqnsLst(eqnslst,functionTree,{});
beqnslst = lowerEqnsLst(theneqns1,functionTree,{});
(beqns,breqns,bieqns) = lowerEqns(theneqn,functionTree,{},{},{});
beqns = List.flatten({beqns,breqns,bieqns});
then
Expand Down

0 comments on commit 2c2db02

Please sign in to comment.