File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -834,8 +834,8 @@ cdef class fmpz_mod_poly(flint_poly):
834
834
835
835
def is_one (self ):
836
836
"""
837
- Return ``True`` if the polynomial is the zero polynomial
838
- and `Fal`se ` otherwise
837
+ Return ``True`` if the polynomial is equal to one
838
+ and ``False` ` otherwise
839
839
840
840
>>> R = fmpz_mod_poly_ctx(163)
841
841
>>> f = R(1)
@@ -846,8 +846,8 @@ cdef class fmpz_mod_poly(flint_poly):
846
846
847
847
def is_gen (self ):
848
848
"""
849
- Return ``True`` if the polynomial is the zero polynomial
850
- and ``False`` otherwise
849
+ Return ``True`` if the polynomial is the generator
850
+ of the polynomial, `x`, and ``False`` otherwise
851
851
852
852
>>> R = fmpz_mod_poly_ctx(163)
853
853
>>> f = R([0,1])
@@ -1610,6 +1610,7 @@ cdef class fmpz_mod_poly(flint_poly):
1610
1610
cdef fmpz_mod_poly_factor_t fac
1611
1611
cdef int i, with_multiplicity
1612
1612
1613
+ with_multiplicity = 0
1613
1614
if multiplicities:
1614
1615
with_multiplicity = 1
1615
1616
You can’t perform that action at this time.
0 commit comments