Skip to content

Commit

Permalink
- uncomment changes from r15456, to much flattening tests to update, …
Browse files Browse the repository at this point in the history
…see also #1754

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15460 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Mar 4, 2013
1 parent 0e559ca commit 6222a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/ExpressionSimplify.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2705,7 +2705,7 @@ algorithm
case (expl)
equation
(exp_const,n) = simplifyAdd2(expl,{},0);
exp_const_1 = simplifyAddJoinTerms(exp_const,intLt(n,5),n);
exp_const_1 = simplifyAddJoinTerms(exp_const,/* intLt(n,50), this was commented out because is works good for large models but not for slow. A more general solution is needed */ true,n);
expl_1 = simplifyAddMakeMul(exp_const_1);
then
expl_1;
Expand Down

0 comments on commit 6222a6f

Please sign in to comment.