#16858: Print RDF and CDF elements with more digits
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  blocker            |    Milestone:  sage-6.4
      Component:  basic arithmetic   |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:  Volker Braun
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/ticket/16858            |  d3b1d0b4839997338b847a4741c69ad95896d358
   Dependencies:  #16889             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vbraun):

 You missed one failing doctest:
 {{{
 sage -t --long src/sage/modular/modform/numerical.py
 **********************************************************************
 File "src/sage/modular/modform/numerical.py", line 463, in
 sage.modular.modform.numerical.NumericalEigenforms.systems_of_eigenvalues
 Failed example:
     numerical_eigenforms(61).systems_of_eigenvalues(10)  # rel tol 2e-14
 Expected:
     [
     [-1.4811943040920152, 0.8060634335253695, 3.1563251746586642,
 0.6751308705666477],
     [-1.0, -2.0000000000000027, -3.000000000000003, 1.0000000000000044],
     [0.3111078174659775, 2.903211925911551, -2.525427560843529,
 -3.214319743377552],
     [2.170086486626034, -1.7092753594369208, -1.63089761381512,
 -0.46081112718908984],
     [3.0, 4.0, 6.0, 8.0]
     ]
 Got:
     [
     [-1.4811943040920152, 0.806063433525369, 3.156325174658668,
 0.675130870566654],
     [-1.0000000000000024, -1.9999999999999993, -2.999999999999994,
 1.0000000000000067],
     [0.3111078174659905, 2.9032119259115587, -2.525427560843502,
 -3.214319743377512],
     [2.170086486626031, -1.7092753594369192, -1.6308976138151232,
 -0.46081112718909467],
     [3.0, 4.0, 6.0, 8.0]
     ]
 Tolerance exceeded in 1 of 20:
     0.3111078174659775 vs 0.3111078174659905, tolerance 4e-14 > 2e-14
 **********************************************************************
 File "src/sage/modular/modform/numerical.py", line 490, in
 sage.modular.modform.numerical.NumericalEigenforms.systems_of_abs
 Failed example:
     numerical_eigenforms(61).systems_of_abs(10)  # rel tol 2e-14
 Expected:
     [
     [0.3111078174659775, 2.903211925911551, 2.525427560843529,
 3.214319743377552],
     [1.0, 2.0000000000000027, 3.000000000000003, 1.0000000000000044],
     [1.4811943040920152, 0.8060634335253695, 3.1563251746586642,
 0.6751308705666477],
     [2.170086486626034, 1.7092753594369208, 1.63089761381512,
 0.46081112718908984],
     [3.0, 4.0, 6.0, 8.0]
     ]
 Got:
     [
     [0.3111078174659905, 2.9032119259115587, 2.525427560843502,
 3.214319743377512],
     [1.0000000000000024, 1.9999999999999993, 2.999999999999994,
 1.0000000000000067],
     [1.4811943040920152, 0.806063433525369, 3.156325174658668,
 0.675130870566654],
     [2.170086486626031, 1.7092753594369192, 1.6308976138151232,
 0.46081112718909467],
     [3.0, 4.0, 6.0, 8.0]
     ]
 Tolerance exceeded in 1 of 20:
     0.3111078174659775 vs 0.3111078174659905, tolerance 4e-14 > 2e-14
 **********************************************************************
 2 items had failures:
    1 of   2 in
 sage.modular.modform.numerical.NumericalEigenforms.systems_of_abs
    1 of   2 in
 sage.modular.modform.numerical.NumericalEigenforms.systems_of_eigenvalues
     [46 tests, 2 failures, 1.53 s]
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16858#comment:35>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to