Skip to content

sympow gives "RuntimeError: failed to compute analytic rank" doctest failures #30633

@seblabbe

Description

@seblabbe

On Ubuntu 18.04 + 9.2.beta13, running

sage -tp src/sage/lfunctions/sympow.py src/sage/schemes/elliptic_curves/ell_rational_field.py

gives

----------------------------------------------------------------------
sage -t --random-seed=0 src/sage/lfunctions/sympow.py  # 3 doctests failed
sage -t --random-seed=0 src/sage/schemes/elliptic_curves/ell_rational_field.py  # 2 doctests failed
----------------------------------------------------------------------

with errors looking like:

**********************************************************************
File "src/sage/schemes/elliptic_curves/ell_rational_field.py", line 1502, in sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_field.analytic_rank
Failed example:
    E.analytic_rank(algorithm='all')
Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 720, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1145, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_field.analytic_rank[5]>", line 1, in <module>
        E.analytic_rank(algorithm='all')
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/schemes/elliptic_curves/ell_rational_field.py", line 1567, in analytic_rank
        self.analytic_rank('rubinstein'), self.analytic_rank('sympow')])
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/schemes/elliptic_curves/ell_rational_field.py", line 1551, in analytic_rank
        return sympow.analytic_rank(self)[0]
      File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/lfunctions/sympow.py", line 299, in analytic_rank
        raise RuntimeError("failed to compute analytic rank")
    RuntimeError: failed to compute analytic rank
**********************************************************************

That issue was already reported at #25856.

A recent upgrade of sympow was made at #3360.

CC: @slel @sagetrac-stephen @dimpase @orlitzky @mkoeppe

Component: build: configure

Keywords: sympow

Author: Dima Pasechnik

Branch/Commit: 0338db7

Reviewer: Sébastien Labbé

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions