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 off-by-one error in segmented_sieve.vi #179

Merged
merged 1 commit into from
Feb 14, 2025
Merged

fix off-by-one error in segmented_sieve.vi #179

merged 1 commit into from
Feb 14, 2025

Conversation

tjjfvi
Copy link
Member

@tjjfvi tjjfvi commented Feb 14, 2025

Fixes an off-by-one error that caused it to identify 9 as a prime number when supplied a max of 10.

Thanks @nilscrm for finding this issue.

@tjjfvi tjjfvi enabled auto-merge February 14, 2025 21:17
@tjjfvi tjjfvi added this pull request to the merge queue Feb 14, 2025
Merged via the queue into main with commit 89c365c Feb 14, 2025
6 checks passed
@tjjfvi tjjfvi deleted the fix-sieve branch February 14, 2025 21:24
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.

1 participant