Skip to content

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

@vbraun

Description

@vbraun
[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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions