Skip to content

Commit

Permalink
fix typos in docs for monomials
Browse files Browse the repository at this point in the history
  • Loading branch information
azoviktor authored Jan 22, 2025
1 parent 22c345b commit 8119077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/monomial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Return the type of the monomials of `p`.
term_type(::Type{PT}) where PT<:AbstractPolynomialLike
monomial_type(::Type{PT}) where PT<:AbstractPolynomialLike
Returns the type of the monomials of a polynomial of type `PT`.
"""
Expand Down Expand Up @@ -112,7 +112,7 @@ Returns an iterator over the powers of the monomial of `t`.
### Examples
Calling `powers(3x^4*y) should return `((x, 4), (y, 1))`.
Calling `powers(3x^4*y)` should return `((x, 4), (y, 1))`.
"""
powers(t::AbstractTermLike) = _zip(variables(t), exponents(t))

Expand Down

0 comments on commit 8119077

Please sign in to comment.