Skip to content

Commit d9a0296

Browse files
committed
Remove duplicate nmod_poly length/degree methods
1 parent 402fc0b commit d9a0296

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/flint/types/nmod_poly.pyx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,6 @@ cdef class nmod_poly(flint_poly):
183183
else:
184184
raise TypeError("cannot set element of type %s" % type(x))
185185

186-
def degree(self):
187-
return nmod_poly_degree(self.val)
188-
189-
def length(self):
190-
return nmod_poly_length(self.val)
191-
192186
def __bool__(self):
193187
return not nmod_poly_is_zero(self.val)
194188

0 commit comments

Comments
 (0)