TypedPolynomials.jl
TypedPolynomials.jl copied to clipboard
monomials(vars::Tuple, degs) throws ArgumentError for 10+ variables
I'm trying to create a vector of monomials for many variables. It fails if the number of variables exceeds a single digit (>9) with the error ArgumentError: Variables must be in order
MWE
using MultivariatePolynomials # v0.3.12
using TypedPolynomials # v0.2.8
@polyvar x[1:10]
monomials(x, 1:2) # ERROR: ArgumentError: Variables must be in order
monomials(x[10:-1:9], 1:2) # This unexpectedly works
I'm using Julia 1.5.3
Seems to be a duplicate of #66