Skip to content

Commit 38e93a5

Browse files
committed
Replace comment
1 parent 732d3b3 commit 38e93a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sage/rings/polynomial/polynomial_element.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2662,6 +2662,9 @@ cdef class Polynomial(CommutativePolynomial):
26622662
# over explicitly a FiniteField type.
26632663
ring = self.base_ring().extension(degree, names="a")
26642664

2665+
# Now we look for a linear root of this irreducible polynomial of degree `degree`
2666+
# over the user supplied ring or the extension we just computed. If the user sent
2667+
# a bad ring here of course there may be no root found.
26652668
f = f.change_ring(ring)
26662669
return f.any_root()
26672670

0 commit comments

Comments
 (0)