22 Sep
2000
22 Sep
'00
9:29 p.m.
On Fri, 22 Sep 2000, Do Hoang Son wrote:
a=1/(1-x-x^2); (1-x-x^2)^(-1) b=series(a,x==0,3); 1+1*x+2*x^2+Order(x^3) b/2; 1/2*1+1*x+2*x^2+Order(x^3) ^^^^^^ I checked and find out it's not the print() problem so maybe it comes from the expand()?
Of course it is a pseries::print() problem! There were two mistakes: 1) It didn't check precedence against upper_precedence (blame me) and 2) pseries was inheriting it's precedence from basic (blame christian). I have committed the patches to CVS. Cheers -richy. -- Richard Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/>