Skip to content

Commit 06c924a

Browse files
authored
Fix order in monomial_vector docstring (#270)
1 parent c4782c3 commit 06c924a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/monomial_vector.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ empty_monomial_vector(p) = monomial_type(p)[]
1212
"""
1313
monomial_vector(X::AbstractVector{MT}) where {MT<:AbstractMonomialLike}
1414
15-
Returns the vector of monomials `X` in decreasing order and without any duplicates.
15+
Returns the vector of monomials `X` in increasing order and without any duplicates.
1616
1717
### Examples
1818
@@ -31,7 +31,7 @@ end
3131
"""
3232
monomial_vector(a, X::AbstractVector{MT}) where {MT<:AbstractMonomialLike}
3333
34-
Returns `b, Y` where `Y` is the vector of monomials of `X` in decreasing order
34+
Returns `b, Y` where `Y` is the vector of monomials of `X` in increasing order
3535
and without any duplicates and `b` is the vector of corresponding coefficients
3636
in `a`, where coefficients of duplicate entries are summed together.
3737
@@ -102,7 +102,7 @@ sort_monomial_vector(X::Tuple) = sort_monomial_vector(vec(X))
102102
"""
103103
merge_monomial_vectors{MT<:AbstractMonomialLike, MVT<:AbstractVector{MT}}(X::AbstractVector{MVT}}
104104
105-
Returns the vector of monomials in the entries of `X` in decreasing order and without any duplicates, i.e. `monomial_vector(vcat(X...))`
105+
Returns the vector of monomials in the entries of `X` in increasing order and without any duplicates, i.e. `monomial_vector(vcat(X...))`
106106
107107
### Examples
108108

0 commit comments

Comments
 (0)