Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium WrongResult

New issue 3648 by [email protected]: Define integral of Piecewise problem.
http://code.google.com/p/sympy/issues/detail?id=3648

When Piecewise is a multivariate function of x and y, with conditions on y, and it is integrated w.r.t. x, everything seems to work fine for indefinite integration, but we loose the conditions on y when we do a define integration.

from sympy import Eq, Piecewise, integrate
from sympy.abc import x, y
p = Piecewise((1, Eq(y, 0)), (x*y, True))
integrate(p, x)          # ok
Piecewise((x, y == 0), (x**2*y/2, True))
integrate(p, (x, 1, 3))  # oups, loss the condition on y
4*y


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to