Changes between Initial Version and Version 1 of Ticket #2788, comment 4
- Timestamp:
- 2014-08-24T16:32:58Z (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2788, comment 4
initial v1 4 4 Index: Compiler/BackEnd/ExpressionSolve.mo 5 5 =================================================================== 6 --- Compiler/BackEnd/ExpressionSolve.mo 7 +++ Compiler/BackEnd/ExpressionSolve.mo 6 --- Compiler/BackEnd/ExpressionSolve.mo (revision 21962) 7 +++ Compiler/BackEnd/ExpressionSolve.mo (working copy) 8 8 @@ -96,7 +96,7 @@ 9 9 local … … 18 18 then 19 19 (res,asserts); 20 20 21 + case (_,DAE.IFEXP(e1,e2,e3),_,_) 21 22 + equation 22 23 + (lhs,asserts) = solve_work(inExp1,e2,inExp3,linearExps); 23 24 + (rhs,asserts1) = solve_work(inExp1,e3,inExp3,linearExps); 24 + (res,_) = ExpressionSimplify.simplify1(DAE.IFEXP(e1,lhs,rhs));25 + asserts2 = listAppend(asserts,asserts1);26 + then27 + (res,asserts2);28 +29 + case (DAE.IFEXP(e1,e2,e3),_,_,_)30 + equation31 + (lhs,asserts) = solve_work(e2,inExp2,inExp3,linearExps);32 + (rhs,asserts1) = solve_work(e3,inExp2,inExp3,linearExps);33 25 + (res,_) = ExpressionSimplify.simplify1(DAE.IFEXP(e1,lhs,rhs)); 34 26 + asserts2 = listAppend(asserts,asserts1);