Re: Reverse the subs

2008-04-18 Thread Ondrej Certik
On Thu, Apr 17, 2008 at 11:59 AM, Friedrich Hagedorn [EMAIL PROTECTED] wrote: Hello, I think this should be done in the reverse order: In [15]: (x+y).subs([(y,x**2), (x,2)]) Out[15]: 2 2 + x In [16]: (x+y).subs([(x,2), (y,x**2)]) Out[16]: 6 I think so too. This is now:

Re: Reverse the subs

2008-04-18 Thread Kirill Smelkov
On Fri, Apr 18, 2008 at 11:45:57PM +0200, Friedrich Hagedorn wrote: On Fri, Apr 18, 2008 at 03:09:39PM +0200, Ondrej Certik wrote: On Thu, Apr 17, 2008 at 11:59 AM, Friedrich Hagedorn [EMAIL PROTECTED] wrote: Hello, I think this should be done in the reverse order: