Skip to content

Doctest: bug with first call to ex.series() #22733

@rwst

Description

@rwst

In a fresh Sage:

sage: var('a b c c0 c1 c2 c3 c4 c5 c6 d i j m n p r k u x y z')
(a, b, c, c0, c1, c2, c3, c4, c5, c6, d, i, j, m, n, p, r, k, u, x, y, z)
sage: a.series(x)
1*x + Order(x^20)
sage: b.series(x)
(b)

sage: var('z0 z')
(z0, z)
sage: z0.series(x)
1*x + Order(x^20)
sage: z.series(x)
(z)

sage: var('z0 z')
(z0, z)
sage: z.series(x)
1*x + Order(x^20)
sage: z0.series(x)
(z0)

It seems to always affect the first call to series.

Depends on #23134

Component: symbolics

Author: Ralf Stephan

Branch/Commit: 92e6f44

Reviewer: Travis Scrimshaw

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions