Skip to content

Commit

Permalink
- remove debug print
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23817 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Volker Waurich committed Dec 17, 2014
1 parent 4341946 commit beb8e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/HpcOmEqSystems.mo
Expand Up @@ -1519,7 +1519,7 @@ algorithm
(allTerms,coeffsIn) := foldIn;
(coeffs,allTerms) := List.extract1OnTrue(allTerms,Expression.expHasCref,cref);
coeff := List.fold(coeffs,Expression.expAdd,DAE.RCONST(0));
if Expression.containFunctioncall(coeff) then print("This system of equations cannot be decomposed because its actually not linear (the coeffs are function calls of x).\n");fail(); end if;
//if Expression.containFunctioncall(coeff) then print("This system of equations cannot be decomposed because its actually not linear (the coeffs are function calls of x).\n");fail(); end if;
(coeff,_) := Expression.replaceExp(coeff,Expression.crefExp(cref),DAE.RCONST(1.0));
(coeff,_) := ExpressionSimplify.simplify(coeff);
foldOut := (allTerms,coeff::coeffsIn);
Expand Down

0 comments on commit beb8e95

Please sign in to comment.