Skip to content

Commit

Permalink
improved heuristic
Browse files Browse the repository at this point in the history
  • Loading branch information
vruge authored and OpenModelica-Hudson committed Jan 27, 2016
1 parent 783a9b0 commit 51ca6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/BackendDAEOptimize.mo
Expand Up @@ -4480,7 +4480,7 @@ algorithm
algorithm
terms := Expression.terms(e);
terms := list(hetsSplitExp(t) for t in terms);
(terms, termsDer) := List.splitOnTrue(terms, Expression.expHasDer);
(termsDer, terms) := List.splitOnTrue(terms, Expression.expHasDer);
then Expression.expAdd(Expression.makeSum1(terms), Expression.makeSum1(termsDer));
else iExp;
end match;
Expand Down

0 comments on commit 51ca6a5

Please sign in to comment.