Skip to content

Commit

Permalink
- fix ticket:3801
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Mar 28, 2016
1 parent 76e6efa commit 5e8c11b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/BackEnd/ExpressionSolve.mo
Expand Up @@ -123,6 +123,7 @@ protected
algorithm
BackendDAE.EQUATION(exp=e1, scalar=e2, source=source,attr=attr) := eqn;
if not (Types.isIntegerOrRealOrSubTypeOfEither(Expression.typeof(e1)) and Types.isIntegerOrRealOrSubTypeOfEither(Expression.typeof(e2))) then
solved := true;
return;
end if;
BackendDAE.VAR(varName = cr) := var;
Expand Down

0 comments on commit 5e8c11b

Please sign in to comment.