Ilya Zakharevich on Tue, 11 Mar 2003 17:28:50 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: subst()


On Tue, Mar 11, 2003 at 06:57:30PM -0500, Igor Schein wrote:
> Hi,
> 
> I remember seeing a recent subst() discussion, which I wasn't paying
> attention to.  Now I see this behavior, which I don't like at all:
> 
> ? p=x^2-x-1;
> ? \y
>    simplify = 0 (off)
> ? type(subst(subst(p,x^2,x),x,x^2))
> "t_INT"

The behaviour of subst(p,x^2,x) and of subst(p,x,x^2) was not changed
(at least should not have been changed ;-).

Hope this helps,
Ilya