-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
singular_ring not working for finite prime fields #564
Comments
Well, you can't use n_unknown on immutables. Oscar.jl/experimental/Rings/QabAndPChars.jl Lines 23 to 25 in c4eca1e
Unfortunately, singular offers no native analogue of gfp_fmpz_elem, so either we make gfp_fmpz_elem mutable, or make a mutable wrapper of it? |
How about not creating an |
|
What about the |
No - then Singular doesn't know it is a field. |
This is now fixed as: julia> Fx, = GF(fmpz(3))["x", "y"]
(Multivariate Polynomial Ring in x, y over Galois field with characteristic 3, AbstractAlgebra.Generic.MPoly{gfp_fmpz_elem}[x, y])
julia> Oscar.singular_ring(Fx)
Singular Polynomial Ring (Coeffs(17)),(x,y),(lp(2),C)
julia> typeof(gen(ans, 1))
Singular.spoly{Singular.n_FieldElem{Singular.FieldElemWrapper{Nemo.GaloisFmpzField, gfp_fmpz_elem}}} |
@tthsqe12
The text was updated successfully, but these errors were encountered: