Skip to content

Commit e5513a8

Browse files
committed
fixes f4 for finite fields not being GF(n)
1 parent 174ba9f commit e5513a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/nemo.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function _convert_to_msolve(
3737
else
3838
for i in 1:nr_gens
3939
for cf in coefficients(F[i])
40-
push!(cfs, Int32(data(cf)))
40+
push!(cfs, Int32(data(prime_field(base_ring(R))(cf))))
4141
end
4242
end
4343
end
@@ -85,7 +85,7 @@ function _convert_finite_field_gb_to_abstract_algebra(
8585
nr_vars = nvars(R)
8686
CR = coefficient_ring(R)
8787

88-
basis = Nemo.gfp_mpoly[]
88+
basis = []
8989
#= basis = Vector{MPolyElem}(undef, bld) =#
9090

9191
len = 0

0 commit comments

Comments
 (0)