#6506: [with patch, needs work] further numpy type conversions
------------------------------------------+---------------------------------
 Reporter:  robertwb                      |       Owner:  jkantor               
      
     Type:  defect                        |      Status:  new                   
      
 Priority:  major                         |   Milestone:  sage-4.1.1            
      
Component:  numerical                     |    Keywords:                        
      
 Reviewer:  Jason Grout, Robert Bradshaw  |      Author:  Robert Bradshaw, 
Jason Grout
   Merged:                                |  
------------------------------------------+---------------------------------

Comment(by mvngu):

 I applied patches in this order:
  1. patch at #5081
  1. `6506-numpy-types.patch`
  1. `trac-6506-doc-fixes.patch`
  1. `6506-numpy-types-fixes.patch`
 Doctesting revealed the following failures, which are mostly numerical
 noise:
 {{{
 sage -t -long devel/sage-main/sage/symbolic/expression.pyx
 **********************************************************************
 File "/scratch/mvngu/release/sage-4.1.1.alpha1/devel/sage-
 main/sage/symbolic/expression.pyx", line 4360:
     sage: SR(1.0000000000000000000000000).cosh()
 Expected:
     cosh(1.0000000000000000000000000)
 Got:
     cosh(1.000000000000000000000000)
 **********************************************************************
 1 items had failures:
    1 of  12 in __main__.example_111
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /scratch/mvngu/release/sage-4.1.1.alpha1/tmp/.doctest_expression.py
          [30.5 s]

 sage -t -long devel/sage-main/sage/functions/special.py
 **********************************************************************
 File "/scratch/mvngu/release/sage-4.1.1.alpha1/devel/sage-
 main/sage/functions/special.py", line 655:
     sage: bessel_I(0,1,"maxima")
 Expected:
     1.26606587775200...
 Got:
     1.26606587775201
 **********************************************************************
 1 items had failures:
    1 of   8 in __main__.example_8
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /scratch/mvngu/release/sage-4.1.1.alpha1/tmp/.doctest_special.py
          [5.7 s]

 sage -t -long devel/sage-main/sage/combinat/combinat.py
 **********************************************************************
 File "/scratch/mvngu/release/sage-4.1.1.alpha1/devel/sage-
 main/sage/combinat/combinat.py", line 1733:
     sage: hurwitz_zeta(11/10,1/2,50)
 Expected:
     12.103813495683755105709077412966680619033648618088
 Got:
     12.10381349568375510570907741296668061903364861809
 **********************************************************************
 1 items had failures:
    1 of   5 in __main__.example_76
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /scratch/mvngu/release/sage-4.1.1.alpha1/tmp/.doctest_combinat.py
          [4.0 s]

 sage -t -long devel/sage-main/sage/rings/rational_field.py
 **********************************************************************
 File "/scratch/mvngu/release/sage-4.1.1.alpha1/devel/sage-
 main/sage/rings/rational_field.py", line 118:
     sage: 6530219459687219.0/281474976710656
 Expected:
     23.199999999999999
 Got:
     23.20000000000000
 **********************************************************************
 1 items had failures:
    1 of  24 in __main__.example_1
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /scratch/mvngu/release/sage-4.1.1.alpha1/tmp/.doctest_rational_field.py
          [2.9 s]

 sage -t -long devel/sage-main/sage/functions/transcendental.py
 **********************************************************************
 File "/scratch/mvngu/release/sage-4.1.1.alpha1/devel/sage-
 main/sage/functions/transcendental.py", line 395:
     sage: dickman_rho(10.00000000000000000000000000000000000000)
 Expected:
     2.770171837725958988758121200634342326343e-11
 Got:
     2.77017183772595898875812120063434232634e-11
 **********************************************************************
 1 items had failures:
    1 of   6 in __main__.example_8
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /scratch/mvngu/release/sage-4.1.1.alpha1/tmp/.doctest_transcendental.py
          [3.5 s]

 sage -t -long devel/sage-main/sage/rings/complex_interval.pyx
 **********************************************************************
 File "/scratch/mvngu/release/sage-4.1.1.alpha1/devel/sage-
 main/sage/rings/complex_interval.pyx", line 1052:
     sage: ComplexIntervalFieldElement(1.234567890123456789012345,
 5.4321098654321987654321)
 Expected:
     1.2345678901234567890123450? + 5.4321098654321987654321000?*I
 Got:
     1.234567890123456789012350? + 5.432109865432198765432000?*I
 **********************************************************************
 1 items had failures:
    1 of   9 in __main__.example_32
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /scratch/mvngu/release/sage-4.1.1.alpha1/tmp/.doctest_complex_interval.py
          [2.9 s]
 }}}

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