JuliaAlgebra / DynamicPolynomials.jl

Multivariate polynomials implementation of commutative and non-commutative variables
Other
60 stars 21 forks source link

Multiplication with one(Monomial{false}) #58

Closed tweisser closed 4 years ago

tweisser commented 4 years ago
@polyvar x 
m = one(Monomials{true})*x

returns x

@ncpolyvar x 
m = one(Monomials{false})*x

errors ERROR: BoundsError: attempt to access 0-element Array{PolyVar{false},1} at index [0]