Skip to content

Commit

Permalink
- fix replaceWhenEquation
Browse files Browse the repository at this point in the history
  • Loading branch information
Willi Braun committed Aug 17, 2015
1 parent 98b6821 commit afb23b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/BackEnd/BackendVarTransform.mo
Expand Up @@ -1898,6 +1898,7 @@ algorithm
oelsewhenPart = SOME(elsewhenPart);
else
oelsewhenPart = NONE();
b3 = false;
end if;
b4 = b1 or b2 or b3;
weqn = if b4 then BackendDAE.WHEN_STMTS(cond2,whenStmtLst,oelsewhenPart) else whenEqn;
Expand Down

0 comments on commit afb23b0

Please sign in to comment.