Comment #10 on issue 1304 by asmeurer: Integrate sqrt(x**2 + y**2) fails
http://code.google.com/p/sympy/issues/detail?id=1304

That is not a bug. It is because Python is turning the 1/2 into 0, so you are just integrating 0 with respect to x and y. See http://docs.sympy.org/dev/gotchas.html#python-numbers-vs-sympy-numbers. You should use S(1)/2, or just use sqrt (sqrt(expr) is exactly the same as expr**(S(1)/2); the one is just a shortcut for the other).

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

Reply via email to