Skip to content

Commit f6328b1

Browse files
authored
Apply suggestions from code review
1 parent a737a6f commit f6328b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResidueField.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ residue ring parent object is cached and returned for any subsequent calls
466466
to the constructor with the same base ring $R$ and element $a$.
467467
"""
468468
function residue_field(R::Ring, a::RingElement; cached::Bool = true)
469-
@req !is_trivial(R) "Zero rings are currently not supported as base ring."
469+
@req !is_trivial(R) "Base ring must not be the zero ring."
470470
iszero(a) && throw(DivideError())
471471
T = elem_type(R)
472472
S = EuclideanRingResidueField{T}(R(a), cached)

0 commit comments

Comments
 (0)