Skip to content

inconsistency with polynomial factor() in Poly vs LaurentPoly #18082

Open
@rwst

Description

@rwst
sage: R.<x> = PolynomialRing(QQ)
sage: (1/(1-x)).factor()
(-1) * (x - 1)^-1
sage: (1-x).factor()
(-1) * (x - 1)

sage: R.<x> = LaurentPolynomialRing(QQ)
sage: (1/(1-x)).factor()
(-1) * (x - 1)^-1
sage: (1-x).factor()
(-1) * (-1 + x)

Component: commutative algebra

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

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