Closed blegat closed 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.
(MA.promote_operation(MA.add_mul, AffExpr, AffExpr)
AffExpr
QuadExpr
This was incorrect, e.g. multiplying polynomials of JuMP.AffExpr was failing because
(MA.promote_operation(MA.add_mul, AffExpr, AffExpr)
isAffExpr
while it should beQuadExpr
.