Skip to content

Commit 4d46c69

Browse files
committed
Address review comments: typo and raise Error, not warning
1 parent 4d8e3ad commit 4d46c69

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/flint/flint_base/flint_base.pyx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from warnings import warn
2-
31
from flint.flint_base.flint_context cimport thectx
42

53
cdef class flint_elem:
@@ -74,7 +72,7 @@ cdef class flint_poly(flint_elem):
7472
7573
acb_poly(input_poly).roots()
7674
"""
77-
warn('This method is deprecated. Please instead use acb_poly(input_poly).roots()', DeprecationWarning)
75+
raise NotImplementedError('This method has been deprecated. Please instead use acb_poly(input_poly).roots()')
7876

7977

8078

0 commit comments

Comments
 (0)