Skip to content
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

Merged
merged 6 commits into from
Mar 20, 2024
Merged

Add more tests to test/test_MOI_wrapper.jl #246

merged 6 commits into from
Mar 20, 2024

Conversation

odow
Copy link
Member

@odow odow commented Mar 20, 2024

No description provided.

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 66.61%. Comparing base (0d0f0dd) to head (85baede).

Files Patch % Lines
src/MOI/MOI_wrapper.jl 88.88% 4 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

@@ -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)),
Copy link
Member Author

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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops!

@odow odow merged commit 961604e into master Mar 20, 2024
7 checks passed
@odow odow deleted the od/tests branch March 20, 2024 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant