Problem with subs

Christian Bauer cbauer at thep.physik.uni-mainz.de
Thu Feb 28 15:56:10 CET 2002


Hi!

On Thu, Feb 28, 2002 at 11:43:51AM +0100, Tatiana Zolo wrote:
> > p=x+1;
> 1+x
> > subs(p,x==x-1);
> -1+x
> [...]
> so, apparently, subs is sometimes wrong.

Indeed. It first substituted x+1 -> (x-1)+1 -> x, and then substituted
x again. This is now fixed in CVS.

Bye,
Christian

-- 
  / Coding on PowerPC and proud of it
\/ http://www.uni-mainz.de/~bauec002/



More information about the GiNaC-list mailing list