-
-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests for issue #3736 #3737
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3737 +/- ##
=======================================
Coverage 98.40% 98.40%
=======================================
Files 43 43
Lines 5820 5820
=======================================
Hits 5727 5727
Misses 93 93 ☔ View full report in Codecov by Sentry. |
Where are the methods? I added because the stack trace from #3736 includes [1] _instantiate_zero(::Type{MutableArithmetics.Zero})
@ MutableArithmetics ~/.julia/dev/MutableArithmetics/src/interface.jl:28
[2] promote_operation_fallback(op::typeof(*), ::Type{QuadExpr}, ::Type{MutableArithmetics.Zero})
@ MutableArithmetics ~/.julia/dev/MutableArithmetics/src/interface.jl:51
[3] promote_operation(::typeof(*), ::Type, ::Type)
@ MutableArithmetics ~/.julia/dev/MutableArithmetics/src/interface.jl:113
[4] mutability(::Type, ::Function, ::Type, ::Type)
@ MutableArithmetics ~/.julia/dev/MutableArithmetics/src/interface.jl:273
[5] mutability(::QuadExpr, ::Function, ::QuadExpr, ::MutableArithmetics.Zero)
@ MutableArithmetics ~/.julia/dev/MutableArithmetics/src/interface.jl:281
[6] operate!!(::typeof(*), ::QuadExpr, ::MutableArithmetics.Zero)
@ MutableArithmetics ~/.julia/dev/MutableArithmetics/src/interface.jl:616 This is going to additionally call |
Then we should probably implement |
Changed to implement |
This should be in MA next to |
Closes #3736
Needs release with jump-dev/MutableArithmetics.jl#283 before merging.