Updates:
Status: Started
Comment #2 on issue 1427 by ondrej.certik: subs for sqrt(a/b) is wrong
http://code.google.com/p/sympy/issues/detail?id=1427
The attached patch fixes it.
In [1]: var("a b")
Out[1]: (a, b)
In [2]: e = sqrt(a/b)
In [3]: e
Out[3]:
⎽⎽⎽
╱ a
╱ ─
╲╱ b
In [4]: e.subs({a: -2, b:-S(1)/2})
Out[4]: 2
all tests pass, except one limit test.
Attachments:
0001-sqrt-x-y-fix.patch 1.2 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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-issues?hl=en
-~----------~----~----~----~------~----~------~--~---