Closed fjarri closed 1 year ago
Base: 95.85% // Head: 95.95% // Increases project coverage by +0.10%
:tada:
Coverage data is based on head (
06591f8
) compared to base (7d32520
). Patch coverage: 98.33% of modified lines in pull request are covered.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Fixes #1
According to Robert Baillie himself (from private correspondence), strictly speaking the
gcd(Q, n) == 1
check is necessary. Of course, in practice the Lucas test will be executed on a pre-sievedn
, andQ
is always small, so this condition is satisfied automatically. But in order to avoid having implicit assumptions in the code (sincelucas_test()
is public), this PR adds the GCD check. The performance impact is negligible, so why not.