You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-40048: Fix primes_of_bounded_norm for noninteger entries
For noninteger entries, primes_of_bouned_norm used the ceil function to
convert it to an integer. This caused the function to sometimes return
primes of norm bigger than the bound.
Using the floor function instead, fixes the issue.
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.
URL: #40048
Reported by: Eloi Torrents
Reviewer(s):
0 commit comments