Closed avadov closed 7 months ago
Also, it fixes the bug of skipping the first two numbers after n. For example, in the previous version:
galois.next_prime(100000034) 100000037 galois.next_prime(100000035) 100000039 galois.next_prime(100000036) 100000039 galois.next_prime(100000037) 100000049
galois.next_prime(100000034) 100000037
galois.next_prime(100000035) 100000039
galois.next_prime(100000036) 100000039
galois.next_prime(100000037) 100000049
Thanks for this! Can you rebase off of release/0.3.x? That should pass the unit tests.
release/0.3.x
Closing since their is a new one in #527
Also, it fixes the bug of skipping the first two numbers after n. For example, in the previous version: