Comment #6 on issue 1950 by asmeurer: Piecewise((x, 0 < x), (0, Eq(x, 0)), (-x, x < 0))._eval_interval(x, -1, 1) is wrong
http://code.google.com/p/sympy/issues/detail?id=1950

Measure zero intervals contribute nothing to an Integral. See the first sentence of http://en.wikipedia.org/wiki/Lebesgue_integral#Basic_theorems_of_the_Lebesgue_integral. The result to that one should be exactly the same as the result to this one (which I agree is a wrong result, but it isn't caused by the oo term):

In [246]: Piecewise((x, 0 < x), (-x, x <= 0))._eval_interval(x, -1, 1)
Out[246]: 0


--
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.

Reply via email to