13 Feb
2007
13 Feb
'07
10:15 a.m.
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