Skip to content

Improve the conversion of Oscar/Flint polynomials to/from Singular #906

@hannes14

Description

@hannes14

Improve the conversion of Oscar/Flint polynomials to/from Singular: several problems

function (F::N_ZpField)(a::Nemo.fpFieldElem)
   characteristic(F) == characteristic(parent(a)) || error("characteristic does not match")
   return F(lift(a))
end

and related: - characteristic is Int in both cases, but compared as BigInt
- internal representation is the same: an Int between 0 and p-1
Singular has internal routines for conversion between flint (fmpq_poly_t,nmod_poly_t) and Singular (poly),
but unused here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions