[GiNaC-devel] pseries patch

Chris Dams Chris.Dams at mi.infn.it
Tue Feb 13 10:15:47 CET 2007


Dear Alexei,

On Mon, 12 Feb 2007, Sheplyakov Alexei wrote:

> works just fine, because (1+exp(t)).ldegree(t) returns zero. I think
> it should throw an exception just like (1+sqrt(t)).ldegree(t) does. 

Agreed, ldegree should only work on things for which it makes sense. If 
you like to write a patch, I'll commit it.

Besides that, our series expansion algorithms generally suck horribly.  
Maybe, I'll try writing something better sometime. Who knows.
 
> [PATCH] power::series: fix failure when basis is not a rational function

Thanks, comitted now in 1.4. I'll also do 1.3.

Best wishes,
Chris



More information about the GiNaC-devel mailing list