-
Notifications
You must be signed in to change notification settings - Fork 30
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 more tests to test/test_MOI_wrapper.jl #246
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #246 +/- ##
==========================================
+ Coverage 63.77% 66.61% +2.84%
==========================================
Files 6 6
Lines 3511 3430 -81
==========================================
+ Hits 2239 2285 +46
+ Misses 1272 1145 -127 ☔ View full report in Codecov by Sentry. |
@@ -3869,7 +3869,7 @@ function MOI.get(model::Optimizer, ::MOI.ListOfConstraintTypesPresent) | |||
elseif info.type == INDICATOR | |||
push!( | |||
constraints, | |||
(MOI.ScalarAffineFunction{Float64}, typeof(info.set)), | |||
(MOI.VectorAffineFunction{Float64}, typeof(info.set)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of nasty little bugs in here
|
||
# Next, set the new constraint function terms. | ||
for term in previous.terms | ||
for term in replacement.terms |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops!
No description provided.