jump-dev / JuMP.jl

Modeling language for Mathematical Optimization (linear, mixed-integer, conic, semidefinite, nonlinear)
http://jump.dev/JuMP.jl/
Other
2.22k stars 393 forks source link

Fix converting (Aff,Quad)Expr to NonlinearExpr #3642

Closed odow closed 9 months ago

odow commented 9 months ago

x-ref https://discourse.julialang.org/t/unable-to-create-vector-out-of-affexpr-in-some-cases/107968

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9993bde) 98.28% compared to head (521efda) 98.28%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3642 +/- ## ======================================= Coverage 98.28% 98.28% ======================================= Files 43 43 Lines 5640 5640 ======================================= Hits 5543 5543 Misses 97 97 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

odow commented 9 months ago

https://github.com/jump-dev/JuMP.jl/actions/runs/7333357911

odow commented 9 months ago

This can change the return type, but it's a bug fix.