Skip to content

Doctest fix for: series() yields wrong result depending on precision #22959

Closed
@behackl

Description

@behackl

In the current 8.0.beta5 I get the following:

sage: f = x/(1-x^2)
sage: f.series(x==0, 10)
1*x^2 + 1*x^4 + 1*x^6 + 1*x^8 + Order(x^10)
sage: f.series(x==0, 11)
1*x + 1*x^3 + 1*x^5 + 1*x^7 + 1*x^9 + Order(x^11)

This seems to be a regression from somewhere between sage-7.5 (where the result is still correct) and sage-7.6.

Depends on #22969

CC: @rwst

Component: calculus

Author: Ralf Stephan

Branch/Commit: b121061

Reviewer: Benjamin Hackl

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions