Skip to content

Commit 5abfd1b

Browse files
committed
Removed comment on Random Picking
1 parent c228541 commit 5abfd1b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/sage/categories/finite_fields.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,6 @@ def quadratic_non_residue(self):
272272
# then every element is a square
273273
if self.characteristic() == 2:
274274
raise ValueError("there are no non-squares in finite fields of even order")
275-
# uniformly randomly select elements for a non-square
276-
# with probability 1/2 for a non-square
277275
for element in self:
278276
if not element.is_square():
279277
return element

0 commit comments

Comments
 (0)