File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 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):
834834
835835 def is_one (self ):
836836 """
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
839839
840840 >>> R = fmpz_mod_poly_ctx(163)
841841 >>> f = R(1)
@@ -846,8 +846,8 @@ cdef class fmpz_mod_poly(flint_poly):
846846
847847 def is_gen (self ):
848848 """
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
851851
852852 >>> R = fmpz_mod_poly_ctx(163)
853853 >>> f = R([0,1])
@@ -1610,6 +1610,7 @@ cdef class fmpz_mod_poly(flint_poly):
16101610 cdef fmpz_mod_poly_factor_t fac
16111611 cdef int i, with_multiplicity
16121612
1613+ with_multiplicity = 0
16131614 if multiplicities:
16141615 with_multiplicity = 1
16151616
You can’t perform that action at this time.
0 commit comments