Status: Accepted
Owner: ----
Labels: Type-Defect Priority-High Milestone-Release0.6.5 WrongResult

New issue 1427 by ondrej.certik: subs for sqrt(a/b) is wrong
http://code.google.com/p/sympy/issues/detail?id=1427

In [4]: var("a b")
Out[4]: (a, b)

In [5]: e = sqrt(a/b)

In [6]: e
Out[6]:
           ⎽⎽⎽
   ⎽⎽⎽    ╱ 1
╲╱ a ⋅  ╱  ─
       ╲╱   b

In [7]: e.subs({a: -2, b:-S(1)/2})
Out[7]: -2


--
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 sympy-issues@googlegroups.com
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to