Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix random failure in number_field_element.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Dec 13, 2021
1 parent cc60cfe commit ca99e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/number_field/number_field_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4415,7 +4415,7 @@ cdef class NumberFieldElement(FieldElement):
sage: K.<zeta> = CyclotomicField(8)
sage: K(1).descend_mod_power(QQ,2)
[1, 2, -1, -2]
sage: a = 17*K.random_element()^2
sage: a = 17 * K._random_nonzero_element()^2
sage: a.descend_mod_power(QQ,2)
[17, 34, -17, -34]
"""
Expand Down

0 comments on commit ca99e34

Please sign in to comment.