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

Fix cartesian_product::last with empty sequence #180

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

tcbrindle
Copy link
Owner

Make sure that first() == last() for a cartesian product adaptor with an empty base sequence (that is not the first base).

Fixes #177

Make sure that first() == last() for a cartesian product adaptor with an empty base sequence (that is not the first base).

Fixes #177
Copy link

codecov bot commented Mar 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.06%. Comparing base (6719d90) to head (a25f209).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #180   +/-   ##
=======================================
  Coverage   98.06%   98.06%           
=======================================
  Files          69       69           
  Lines        2426     2433    +7     
=======================================
+ Hits         2379     2386    +7     
  Misses         47       47           

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

@tcbrindle tcbrindle merged commit 05c555e into main Mar 14, 2024
30 of 31 checks passed
@tcbrindle tcbrindle deleted the pr/fix_cart_prod_last branch June 3, 2024 15:56
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.

cartesian_product::last() sometimes returns wrongly-initialised cursor if one of the source sequences is empty
1 participant