Skip to content

Commit

Permalink
Fix replacements for NORETCALL in when equations
Browse files Browse the repository at this point in the history
ticket 3521
  • Loading branch information
lochel committed Oct 26, 2015
1 parent 93d872f commit 069f34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/BackendVarTransform.mo
Expand Up @@ -2013,7 +2013,7 @@ algorithm
(exp1,b) = replaceExp(exp,repl,inFuncTypeExpExpToBooleanOption);
(exp1,_) = ExpressionSimplify.condsimplify(b,exp1);
source = DAEUtil.addSymbolicTransformationSubstitution(b,source,exp,exp1);
wop1 = if b then BackendDAE.NORETCALL(exp,source) else wop;
wop1 = if b then BackendDAE.NORETCALL(exp1,source) else wop;
(res1,b) = replaceWhenOperator(res,repl,inFuncTypeExpExpToBooleanOption,replacementPerformed or b,wop1::iAcc);
then
(res1,b);
Expand Down

0 comments on commit 069f34e

Please sign in to comment.