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

Commit

Permalink
avoid detour through multivariate polynomial ring
Browse files Browse the repository at this point in the history
  • Loading branch information
yyyyx4 committed Jan 11, 2023
1 parent 23f2c2d commit 0e9a4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/ring_extension_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,7 @@ cdef class RingExtensionWithBasisElement(RingExtensionElement):
mod = parent.modulus()
S = mod.parent().quotient(mod)
try:
return S(self.polynomial()).minpoly()
return S(list(self.vector())).minpoly()
except NotImplementedError:
pass # fall back to generic code below

Expand Down

0 comments on commit 0e9a4e2

Please sign in to comment.