Skip to content

Commit bb7facd

Browse files
fingolfinlgoettgens
authored andcommitted
Remove incorrect characteristic(R::ResidueField)
1 parent 7016648 commit bb7facd

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/ResidueField.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ function modulus(r::ResFieldElem)
6464
return modulus(parent(r))
6565
end
6666

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-
7267
characteristic(r::ResidueField{T}) where T <: Integer = modulus(r)
7368
is_known(::typeof(characteristic), R::ResidueField{T}) where T <: Integer = true
7469

0 commit comments

Comments
 (0)