Skip to content

2.8.14/Linux PPC: lcalc doctest failure #1335

Closed

Description

@sagetrac-mabshoff

On my Linux PPC 32 bit box I got the following doctest failure due to numerical noise:

File "lcalc.py", line 188:
    sage: E.Lseries().values_along_line(0.5, 3, 5)
Expected:
    lcalc:  1.5 0 WARNING- we don't have enough Dirichlet coefficients.
    lcalc:  Will use the maximum possible, though the output will not necessarily be accurate.
    lcalc:  nan nan
    [(0, 0.209951303),
     (0.500000000, -2...e-16),
     (1.00000000, 0.133768433),
     (2.00000000, 0.552975867)]
Got:
    lcalc:  1.5 0 WARNING- we don't have enough Dirichlet coefficients.
    lcalc:  Will use the maximum possible, though the output will not necessarily be accurate.
    lcalc:  nan nan
    [(0, 0.209951303), (0.500000000, -3.16949699e-16), (1.00000000, 0.133768433), (2.00000000, 0.552975867)]

The attached patch fixes that.

Cheers,

Michael

Component: doctest coverage

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

Activity

  1. added this to the sage-2.8.15 milestone on Nov 29, 2007
  2. sagetrac-mabshoff commented on Nov 29, 2007

    sagetrac-mabshoffmannequin
    MannequinAuthor
  3. sagetrac-cwitty commented on Dec 1, 2007

    sagetrac-cwittymannequin
    Mannequin
    comment:2

    Looks good to me.

  4. sagetrac-mabshoff commented on Dec 1, 2007

    sagetrac-mabshoffmannequin
    MannequinAuthor
    comment:3

    Merged in 2.8.15.alpha0.

  5. added a commit that references this issue on Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Sponsor
    SponsoredKunjungi sekarang
    Promo