Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monomials(vars::Tuple, degs) throws ArgumentError for 10+ variables #67

Open
swankun opened this issue Mar 24, 2021 · 1 comment
Open

Comments

@swankun
Copy link

swankun commented Mar 24, 2021

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

@blegat blegat transferred this issue from JuliaAlgebra/MultivariatePolynomials.jl Mar 24, 2021
@blegat
Copy link
Member

blegat commented Mar 24, 2021

Seems to be a duplicate of #66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants