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

Simplify RandomSubsetImpl #568

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Simplify RandomSubsetImpl #568

merged 1 commit into from
Nov 20, 2023

Conversation

viceroypenguin
Copy link
Owner

@viceroypenguin viceroypenguin commented Nov 20, 2023

This PR updates the implementation of RandomSubsetImpl to remove the unnecessary closure and DRY the instantiation code.

Fixes #540

@viceroypenguin viceroypenguin added this to the 5.4.0 milestone Nov 20, 2023
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (79347f3) 92.88% compared to head (ff41ce3) 92.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #568      +/-   ##
==========================================
- Coverage   92.88%   92.84%   -0.04%     
==========================================
  Files         255      255              
  Lines        8080     8077       -3     
  Branches     1621     1621              
==========================================
- Hits         7505     7499       -6     
- Misses        364      367       +3     
  Partials      211      211              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@viceroypenguin viceroypenguin merged commit 8e22727 into master Nov 20, 2023
2 of 3 checks passed
@viceroypenguin viceroypenguin deleted the random branch November 20, 2023 21:46
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.

Simplify RandomSubsetImpl code
1 participant