Skip to content

Commit

Permalink
Don't output full equations in InfoFull mode when simplifying
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhinder committed Nov 19, 2011
1 parent 5f1fc1a commit da55994
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Tools/CodeGen/CalculationFunction.m
Expand Up @@ -427,10 +427,9 @@ pathalogical enough (e.g. {s1 -> s2, s2 -> s1} would not be
Last[#],
First[#], debug] &,
eqs],

(* else *)
If[!lookupDefault[cleancalc, NoSimplify, False],
InfoMessage[InfoFull, "Simplifying equations", eqs//InputForm];
eqs = Simplify[eqs, {r>=0}]]];
eqs = Map[(InfoMessage[InfoFull, "Simplifying "<>ToString[#[[1]], InputForm]<>" -> ..."]; Simplify[#, {r>=0}]) &, eqs]]];

InfoMessage[InfoFull, "Equations:"];

Expand Down

0 comments on commit da55994

Please sign in to comment.