Status: Accepted Owner: ---- Labels: Type-Defect Priority-High Milestone-Release0.6.5 WrongResult
New issue 1434 by ondrej.certik: substitution doesn't work for sqrt() http://code.google.com/p/sympy/issues/detail?id=1434 In [6]: sqrt(1-x**2) Out[6]: ⎽⎽⎽⎽⎽⎽⎽⎽ ╱ 2 ╲╱ 1 - x In [7]: sqrt(1-x**2).subs(x, 2) Out[7]: ⎽⎽⎽ ⅈ⋅╲╱ 3 In [8]: (sqrt(1-x**2)**3).subs(x, 2) Out[8]: ⎽⎽⎽ 3⋅╲╱ 3 In [9]: (sqrt(1-x**2)).subs(x, 2)**3 Out[9]: ⎽⎽⎽ -3⋅ⅈ⋅╲╱ 3 [7] is correct, so is [9]. But [8] is totally wrong, it should be the same as [9]. This is a big problem, that has to be fixed soon. -- 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 -~----------~----~----~----~------~----~------~--~---