Updates:
        Status: Valid

Comment #3 on issue 3175 by [email protected]: Sum with reversed limits gives wrong answer
http://code.google.com/p/sympy/issues/detail?id=3175

These results look correct to me. Cf. https://en.wikipedia.org/wiki/Empty_sum

However, there are many inconsistencies:

In [9]: Sum(x, (x, 1, 0)).doit()
Out[9]: 1

In [10]: Sum(x, (x, 1, 0)).evalf()
Out[10]: 0.e-122

In [11]: Sum(x, (x, 5, 0)).evalf()
Out[11]: -10.0000000000000

In [12]: Sum(x, (x, 5, 0)).doit()
Out[12]: 15


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