Skip to content

Commit

Permalink
removing field requirement for quotient_basis
Browse files Browse the repository at this point in the history
  • Loading branch information
pogudingleb committed Dec 19, 2024
1 parent b3d2d43 commit 26c284d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primality_check.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Takes as input a Groebner basis J of a zero-dimensional ideal and
returns a monomial basis of the quotient ring
(more precisely, the list of standard monomials)
"""
function quotient_basis(J::Array{QQMPolyRingElem, 1})
function quotient_basis(J::Array{<:MPolyRingElem, 1})
if !Groebner.isgroebner(J)
throw(DomainError("Input is not a Groebner basis"))
end
Expand Down

0 comments on commit 26c284d

Please sign in to comment.