Skip to content

Commit ceb6557

Browse files
committed
Fix a reference in the comment
1 parent 6ccb2ce commit ceb6557

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hazmat/lucas.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ const MAX_ATTEMPTS: u32 = 10000;
2121
// (~30x for 1024-bit numbers, ~100x for 2048 bit).
2222
// On the other hand, if `n` is a non-square we expect to find a `D`
2323
// in just a few attempts on average (an estimate for the Selfridge method
24-
// can be found in [^1], section 7; for the brute force method it seems to be about the same).
24+
// can be found in [^Baillie1980], section 7; for the brute force method
25+
// it seems to be about the same).
2526
const ATTEMPTS_BEFORE_SQRT: u32 = 30;
2627

2728
/// A method for selecting the base `(P, Q)` for the Lucas primality test.

0 commit comments

Comments
 (0)