File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/sage/rings/number_field Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,7 @@ from sage.libs.ntl.ntl_ZZ cimport ntl_ZZ
49
49
from sage.libs.ntl.ntl_ZZX cimport ntl_ZZX
50
50
from sage.libs.mpfi cimport *
51
51
52
-
53
52
from sage.structure.parent cimport Parent
54
- from sage.structure.parent_base cimport ParentWithBase
55
53
from sage.structure.element cimport Element
56
54
from sage.structure.richcmp cimport rich_to_bool_sgn
57
55
@@ -611,7 +609,7 @@ cdef class NumberFieldElement_quadratic(NumberFieldElement_absolute):
611
609
612
610
mpz_clear(tmp_mpz)
613
611
614
- x._parent = < ParentWithBase > new_parent
612
+ x._parent = < Parent > new_parent
615
613
x._fld_numerator, x._fld_denominator = new_parent.polynomial_ntl()
616
614
x._denominator = elt_den
617
615
cdef ZZX_c result
You can’t perform that action at this time.
0 commit comments