Skip to content

Commit 891d472

Browse files
committed
Fix
1 parent f4dca52 commit 891d472

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/comparison.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ Returns the [`AbstractMonomialOrdering`](@ref) used for the monomials of `p`.
322322
"""
323323
function ordering end
324324

325+
ordering(::Type{<:AbstractMonomial}) = Graded{LexOrder}
325326
ordering(::Type{P}) where {P} = ordering(monomial_type(P))
326327
ordering(p::AbstractPolynomialLike) = ordering(typeof(p))
327328

0 commit comments

Comments
 (0)