[GiNaC-devel] patch for power

Richard B. Kreckel kreckel at thep.physik.uni-mainz.de
Thu Sep 23 23:50:05 CEST 2004


Dear Chris,

On Tue, 21 Sep 2004, Chris Dams wrote:
> Dear all,
>
> I found that the program

[...]

> gives the output
>
> 	sin(x)^2 is polynomial
> 	sin(x)*sin(y) is not polynomial
>
> which I find very awkward. The attached patch unpolynomializes sin(x)^2.

Thanks for your patch wich aligns power::info() with mul::info() in the
obvious way.  I've applied it to CVS.

One minor nitpick: could you please use unified or context diffs with some
lines of copied context in future patches?  It makes life easier for the
person that's going to apply them.  (Use diff -u, for instance.)

Best wishes
         -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>




More information about the GiNaC-devel mailing list