Skip to content

prefer "X in Fields()" rather than "X.is_field()" #28189

@videlec

Description

@videlec

X.is_field() fails for many parent X. The matrix code relies a lot on the distinction ring/field. We change the code in the matrix folder to make the functions work for more base rings.

The ticket also

Component: algebra

Author: Vincent Delecroix

Branch: 4981d44

Reviewer: Frédéric Chapoton

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions