Open matbesancon opened 3 years ago
julia> using DynamicPolynomials, TypedPolynomials julia> const XT = TypedPolynomials.@polyvar(XT[1:10]) (XT₁, XT₂, XT₃, XT₄, XT₅, XT₆, XT₇, XT₈, XT₉, XT₁₀) julia> const XD = DynamicPolynomials.@polyvar(XD[1:10]) ERROR: invalid redefinition of constant XD Stacktrace: [1] top-level scope @ ~/.julia/packages/DynamicPolynomials/46iig/src/var.jl:36
Because a variable XD is already created at the top-level in the macro, which seems not to be the case for typed polynomials, which just create the tuple
Because a variable XD is already created at the top-level in the macro, which seems not to be the case for typed polynomials, which just create the tuple