Skip to content

Commit

Permalink
[NF] Fix ordering of when-branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
perost authored and OpenModelica-Hudson committed Jan 23, 2019
1 parent 8a20ce0 commit 5e72f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/NFFrontEnd/NFInst.mo
Expand Up @@ -2606,7 +2606,7 @@ algorithm
branches := Equation.makeBranch(exp1, eql) :: branches;
end for;
then
Equation.WHEN(branches, makeSource(scodeEq.comment, info));
Equation.WHEN(listReverse(branches), makeSource(scodeEq.comment, info));

case SCode.EEquation.EQ_ASSERT(info = info)
algorithm
Expand Down

0 comments on commit 5e72f06

Please sign in to comment.