Skip to content

Commit ee3ab42

Browse files
author
Matthias Koeppe
committed
More fixes
1 parent 5a93c1b commit ee3ab42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sage/rings/number_field/number_field_element_quadratic.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,6 +1822,7 @@ cdef class NumberFieldElement_quadratic(NumberFieldElement_absolute):
18221822
0
18231823
sage: (a + 1/2).real()
18241824
1/2
1825+
sage: x = polygen(ZZ, 'x')
18251826
sage: K.<a> = NumberField(x^2 + x + 1)
18261827
sage: a.real()
18271828
-1/2

0 commit comments

Comments
 (0)