Skip to content

Commit

Permalink
swapped args in hasOnlyFactors
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@21769 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Vitalij Ruge committed Aug 6, 2014
1 parent 7d9fa2e commit f3b69cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Compiler/BackEnd/ExpressionSolve.mo
Expand Up @@ -835,9 +835,9 @@ algorithm
// swapped args
case(_,_)
equation
true = Expression.isZero(e1);
_::_::_ = Expression.factors(e2);
_::_::_ = Expression.extractCrefsFromExp(e2);
true = Expression.isZero(e2);
_::_::_ = Expression.factors(e1);
_::_::_ = Expression.extractCrefsFromExp(e1);
then
true;

Expand Down

0 comments on commit f3b69cc

Please sign in to comment.