Skip to content

roots of constant polynomial #2112

@laurentbartholdi

Description

@laurentbartholdi

I'm having serious trouble with roots for QQBarFieldElem:

julia> R,z = QQBarField()[:z]
(Univariate polynomial ring in z over QQBar, z)

julia> roots(z^2) # the documentation says that it would return two copies of the root 0
1-element Vector{QQBarFieldElem}:
 Root 0 of x

julia> roots(z^0) # ka-boom, should return the empty list
ERROR: DivideError: integer division error

Note: the rest of this issue was moved into a separate issue #2119

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions