JuliaAlgebra / DynamicPolynomials.jl

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

Fix promotion of multiplication #89

Closed blegat closed 3 years ago

blegat commented 3 years ago

This was incorrect, e.g. multiplying polynomials of JuMP.AffExpr was failing because (MA.promote_operation(MA.add_mul, AffExpr, AffExpr) is AffExpr while it should be QuadExpr.