#11990: infinite sums that are infinite produce errors
---------------------------------------------------+------------------------
       Reporter:  dkrenn                           |         Owner:  burcin  
           Type:  defect                           |        Status:  new     
       Priority:  major                            |     Milestone:  sage-5.4
      Component:  calculus                         |    Resolution:          
       Keywords:  infinite sums, infinite, maxima  |   Work issues:          
Report Upstream:  N/A                              |     Reviewers:          
        Authors:                                   |     Merged in:          
   Dependencies:                                   |      Stopgaps:          
---------------------------------------------------+------------------------

Comment (by burcin):

 I don't see what the expected behavior here is. Do you want `sum()` to
 return `infinity` instead of raising a `ValueError` with the message `Sum
 is divergent.`?

 Note that if you state that the variable is positive, the first example
 also raises an error:

 {{{
 sage: n = var('n')
 sage: assume(n>0)
 sage: sum(n, n, 0, infinity)
 ...
 ValueError: Sum is divergent.
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11990#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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/sage-trac?hl=en.

Reply via email to