Skip to content

Use MOI.delete instead of Base.delete! #496

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

Merged
merged 1 commit into from
Aug 26, 2018
Merged

Use MOI.delete instead of Base.delete! #496

merged 1 commit into from
Aug 26, 2018

Conversation

blegat
Copy link
Member

@blegat blegat commented Aug 25, 2018

Note that MOIU.IndexMap still overloads Base.delete! as it is a dictionary-like object and not a ModelLike.
Since MOI.delete! used to be equivalent Base.delete! this renaming wasn't just a matter of search and replace :-P It might be a good thing for code readability that these are now different.

Closes #475

@blegat blegat mentioned this pull request Aug 25, 2018
@codecov-io
Copy link

codecov-io commented Aug 25, 2018

Codecov Report

Merging #496 into master will not change coverage.
The diff coverage is 94.02%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #496   +/-   ##
=======================================
  Coverage   95.38%   95.38%           
=======================================
  Files          46       46           
  Lines        4681     4681           
=======================================
  Hits         4465     4465           
  Misses        216      216
Impacted Files Coverage Δ
src/Test/contquadratic.jl 100% <ø> (ø) ⬆️
src/Bridges/intervalbridge.jl 83.33% <100%> (ø) ⬆️
src/Bridges/squarepsdbridge.jl 96.66% <100%> (ø) ⬆️
src/Bridges/geomeanbridge.jl 100% <100%> (ø) ⬆️
src/indextypes.jl 81.81% <100%> (ø) ⬆️
src/Bridges/rsocbridge.jl 100% <100%> (ø) ⬆️
src/Test/contlinear.jl 100% <100%> (ø) ⬆️
src/Test/UnitTests/constraints.jl 100% <100%> (ø) ⬆️
src/Utilities/universalfallback.jl 99.3% <100%> (ø) ⬆️
src/Bridges/bridgeoptimizer.jl 96.93% <100%> (ø) ⬆️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c18146...abbf618. Read the comment docs.

@blegat blegat force-pushed the bl/delete branch 2 times, most recently from 3db2265 to abbf618 Compare August 25, 2018 17:29
@blegat blegat merged commit bc6bb2d into master Aug 26, 2018
@blegat blegat deleted the bl/delete branch August 28, 2018 14:31
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.

3 participants