We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7016648 commit bb7facdCopy full SHA for bb7facd
1 file changed
src/ResidueField.jl
@@ -64,11 +64,6 @@ function modulus(r::ResFieldElem)
64
return modulus(parent(r))
65
end
66
67
-characteristic(R::ResidueField) = characteristic(base_ring(R))
68
-# FIXME: why is the above method correct in general??? Isn't it wrong if
69
-# we e.g. start with ZZ[:x] and factor out ideal([x, 2]) ?
70
-is_known(::typeof(characteristic), R::ResidueField) = is_known(characteristic, base_ring(R))
71
-
72
characteristic(r::ResidueField{T}) where T <: Integer = modulus(r)
73
is_known(::typeof(characteristic), R::ResidueField{T}) where T <: Integer = true
74
0 commit comments