aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-05-17 13:45:34 -0400
committerJack Lloyd <[email protected]>2018-05-17 13:45:34 -0400
commitdca4e87d941c2a5e10e4cd0b48a52c0fe8cd71db (patch)
treee04959f92dd4ee6474453dce6d85c9582d6e8d2f
parentef5514617197974bbe07840fce6b5789b3b143fa (diff)
Fix typo in comment [ci skip]
-rw-r--r--src/lib/math/numbertheory/numthry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/numthry.cpp b/src/lib/math/numbertheory/numthry.cpp
index 1458a8943..a5c7a40ab 100644
--- a/src/lib/math/numbertheory/numthry.cpp
+++ b/src/lib/math/numbertheory/numthry.cpp
@@ -501,7 +501,7 @@ size_t mr_test_iterations(size_t n_bits, size_t prob, bool random)
}
/*
-* Test for primaility using Miller-Rabin
+* Test for primality using Miller-Rabin
*/
bool is_prime(const BigInt& n, RandomNumberGenerator& rng,
size_t prob, bool is_random)