Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure in sage/modular/modform/numerical.py for special seed #32862

Closed
vbraun opened this issue Nov 12, 2021 · 2 comments
Closed

Failure in sage/modular/modform/numerical.py for special seed #32862

vbraun opened this issue Nov 12, 2021 · 2 comments

Comments

@vbraun
Copy link
Member

vbraun commented Nov 12, 2021

[release@zen Sage]$ sage -t --long --random-seed=155144149058456221883238043591417598600 src/sage/modular/modform/numerical.py  # 3 doctests failed

Running doctests with ID 2021-11-12-22-23-47-2586f3e8.
Git branch: develop
Using --optional=build,dochtml,fedora,pip,sage,sage.geometry.polyhedron,sage.rings.real_double,sage_spkg
Doctesting 1 file.
sage -t --long --warn-long 43.1 --random-seed=155144149058456221883238043591417598600 src/sage/modular/modform/numerical.py
**********************************************************************
File "src/sage/modular/modform/numerical.py", line 74, in sage.modular.modform.numerical.NumericalEigenforms
Failed example:
    n.ap(2)  # rel tol 2e-14
Expected:
    [3.0, -1.6180339887498947, 0.6180339887498968]
Got:
    [3.0, -1.6180339887498947, 0.6180339887498797]
Tolerance exceeded in 1 of 3:
    0.6180339887498968 vs 0.6180339887498797, tolerance 3e-14 > 2e-14
**********************************************************************
File "src/sage/modular/modform/numerical.py", line 76, in sage.modular.modform.numerical.NumericalEigenforms
Failed example:
    n.systems_of_eigenvalues(7)  # rel tol 2e-14
Expected:
    [
    [-1.6180339887498947, 2.2360679774997894, -3.2360679774997894],
    [0.6180339887498968, -2.236067977499788, 1.2360679774997936],
    [3.0, 4.0, 6.0]
    ]
Got:
    [
    [-1.6180339887498947, 2.2360679774997894, -3.2360679774997894],
    [0.6180339887498797, -2.2360679774998307, 1.2360679774997594],
    [3.0, 4.0, 6.0]
    ]
Tolerance exceeded in 2 of 9:
    0.6180339887498968 vs 0.6180339887498797, tolerance 3e-14 > 2e-14
    1.2360679774997936 vs 1.2360679774997594, tolerance 3e-14 > 2e-14
**********************************************************************
File "src/sage/modular/modform/numerical.py", line 88, in sage.modular.modform.numerical.NumericalEigenforms
Failed example:
    n.eigenvalues([2,3,5])  # rel tol 2e-14
Expected:
    [[3.0, -1.6180339887498947, 0.6180339887498968],
     [4.0, 2.2360679774997894, -2.236067977499788],
     [6.0, -3.2360679774997894, 1.2360679774997936]]
Got:
    [[3.0, -1.6180339887498947, 0.6180339887498797],
     [4.0, 2.2360679774997894, -2.2360679774998307],
     [6.0, -3.2360679774997894, 1.2360679774997594]]
Tolerance exceeded in 2 of 9:
    0.6180339887498968 vs 0.6180339887498797, tolerance 3e-14 > 2e-14
    1.2360679774997936 vs 1.2360679774997594, tolerance 3e-14 > 2e-14
**********************************************************************
1 item had failures:
   3 of   7 in sage.modular.modform.numerical.NumericalEigenforms
    [46 tests, 3 failures, 0.19 s]
----------------------------------------------------------------------
sage -t --long --warn-long 43.1 --random-seed=155144149058456221883238043591417598600 src/sage/modular/modform/numerical.py  # 3 doctests failed
----------------------------------------------------------------------

CC: @kliem

Component: modular forms

Reviewer: Michael Orlitzky

Issue created by migration from https://trac.sagemath.org/ticket/32862

@vbraun vbraun added this to the sage-9.5 milestone Nov 12, 2021
@kliem
Copy link
Contributor

kliem commented Nov 18, 2021

comment:2

Duplicate of #32763.

@kliem kliem removed this from the sage-9.5 milestone Nov 18, 2021
@orlitzky
Copy link
Contributor

orlitzky commented Dec 1, 2021

Reviewer: Michael Orlitzky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants