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 2f04595 commit c0fd0f0Copy full SHA for c0fd0f0
src/monomial.jl
@@ -60,7 +60,7 @@ Returns the exponent of the variables in the monomial of the term `t`.
60
Calling `exponents(x^2*y)` should return `(2, 1)`.
61
"""
62
exponents(t::AbstractTerm) = exponents(monomial(t))
63
-exponents(v::AbstractVariable) = (1,)
+exponents(::AbstractVariable) = (1,)
64
65
66
degree(t::AbstractTermLike)
0 commit comments