We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 732d3b3 commit 38e93a5Copy full SHA for 38e93a5
src/sage/rings/polynomial/polynomial_element.pyx
@@ -2662,6 +2662,9 @@ cdef class Polynomial(CommutativePolynomial):
2662
# over explicitly a FiniteField type.
2663
ring = self.base_ring().extension(degree, names="a")
2664
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.
2668
f = f.change_ring(ring)
2669
return f.any_root()
2670
0 commit comments