Skip to content

Commit 674b38f

Browse files
authored
fix typos in docs for monomials (#309)
1 parent 29c1647 commit 674b38f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/monomial.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Return the type of the monomials of `p`.
55
6-
term_type(::Type{PT}) where PT<:AbstractPolynomialLike
6+
monomial_type(::Type{PT}) where PT<:AbstractPolynomialLike
77
88
Returns the type of the monomials of a polynomial of type `PT`.
99
"""
@@ -112,7 +112,7 @@ Returns an iterator over the powers of the monomial of `t`.
112112
113113
### Examples
114114
115-
Calling `powers(3x^4*y) should return `((x, 4), (y, 1))`.
115+
Calling `powers(3x^4*y)` should return `((x, 4), (y, 1))`.
116116
"""
117117
powers(t::AbstractTermLike) = _zip(variables(t), exponents(t))
118118

0 commit comments

Comments
 (0)