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

Some cleanup in matroid code to avoid code duplication and improve type stability #3031

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

benlorenz
Copy link
Member

Also add bases(Int, M) to get bases as indices instead of groundset elements (same for nonbases).

Copy link

codecov bot commented Nov 22, 2023

Codecov Report

Merging #3031 (ae43da5) into master (a4c26a6) will increase coverage by 0.13%.
Report is 1 commits behind head on master.
The diff coverage is 98.55%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3031      +/-   ##
==========================================
+ Coverage   80.19%   80.32%   +0.13%     
==========================================
  Files         492      492              
  Lines       69529    69538       +9     
==========================================
+ Hits        55756    55854      +98     
+ Misses      13773    13684      -89     
Files Coverage Δ
src/Combinatorics/Matroids/matroids.jl 98.61% <100.00%> (+0.04%) ⬆️
src/Combinatorics/Matroids/properties.jl 99.10% <98.07%> (+0.01%) ⬆️

... and 2 files with indirect coverage changes

@benlorenz benlorenz merged commit 43ef558 into master Nov 23, 2023
19 of 23 checks passed
@benlorenz benlorenz deleted the bl/matcleanup branch November 23, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants