#3587: [with patch, needs review] calculus -- wrap maxima's symbolic summation
-------------------------------------------------------------+--------------
 Reporter:  was                                              |       Owner:  
whuss        
     Type:  enhancement                                      |      Status:  
assigned     
 Priority:  major                                            |   Milestone:  
sage-4.1.2   
Component:  calculus                                         |    Keywords:     
          
 Reviewer:  Burcin Erocal, Mike Hansen, Karl-Dieter Crisman  |      Author:  
Wilfried Huss
   Merged:                                                   |  
-------------------------------------------------------------+--------------

Comment(by was):

 Fix this one broken doctest and this gets a positive review from me:
 {{{
 #!python
 wst...@sage:~/build/sage-4.1.2.alpha1$ ./sage -t
 devel/sage/sage/misc/functional.py
 sage -t  "devel/sage/sage/misc/functional.py"
 **********************************************************************
 File
 "/scratch/wstein/build/sage-4.1.2.alpha1/devel/sage/sage/misc/functional.py",
 line 442:
     sage: sum(k * binomial(n, k), k, 1, n)
 Expected:
     1/2*2^n*n
 Got:
     n*2^(n - 1)
 **********************************************************************
 File
 "/scratch/wstein/build/sage-4.1.2.alpha1/devel/sage/sage/misc/functional.py",
 line 480:
     sage: sum(a*q^k, k, 0, oo)
 Expected:
     Traceback (most recent call last):
     ...
     ValueError: Sum is divergent.
 Got:
     -a/(q - 1)
 **********************************************************************
 1 items had failures:
    2 of  20 in __main__.example_25
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /scratch/wstein/build/sage-4.1.2.alpha1/tmp/.doctest_functional.py
          [8.3 s]
 exit code: 1024

 ----------------------------------------------------------------------
 The following tests failed:


         sage -t  "devel/sage/sage/misc/functional.py"
 Total time for all tests: 8.3 seconds
 wst...@sage:~/build/sage-4.1.2.alpha1$
 }}}

 The above is just the result of changes in Maxima going from 5.16 to 5.19
 in sage-4.1.2.

   -- William

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3587#comment:17>
Sage <http://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