On Mon, Mar 30, 2009 at 7:19 AM, Yau Kwan Kiu <[email protected]> wrote:
>
> On the other hand, I have tried again on the isympy console,
> where .subs() works for (e*f*e*f) but not for (e*e*f);
>
> In [15]: (e*e*f).subs(e*f,f*e+h)
> Out[15]:
>  2
> e *f
>
> In [16]: (e*f*e*f).subs(e*f,f*e+h)
> Out[16]:
>         2
> (h + f*e)
>
>
> Is it true that isympy console uses another piece of code?
> I have placed a "print" marker in Mul._eval_subs() and isympy
> just ignored it.

No, it uses the same code, unless you have some other sympy installed
in your system -- isympy should use the one from the root directory if
you run it as bin/isympy, otherwise it uses the one it finds in
pythonpath

I think this bug is easy to fix, but I didn't have time so far.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to