aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-04-05 12:04:58 -0400
committerJack Lloyd <[email protected]>2017-04-05 12:04:58 -0400
commit45896a06874d5e43714b59d3fbc78dec61fcbf6d (patch)
treee0bf5181c79b920fa79d31f6f598d8827c15f70f /src/lib
parent22e812ddf1862a059a515b6966be5986dc85f6d3 (diff)
parent0738fc55ca202fb6db5806236e8a02c28867301c (diff)
Merge GH #979 Doc fix [ci skip]
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/math/numbertheory/numthry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/numthry.h b/src/lib/math/numbertheory/numthry.h
index 536dd069c..e788caec1 100644
--- a/src/lib/math/numbertheory/numthry.h
+++ b/src/lib/math/numbertheory/numthry.h
@@ -182,7 +182,7 @@ inline bool verify_prime(const BigInt& n, RandomNumberGenerator& rng)
* Randomly generate a prime
* @param rng a random number generator
* @param bits how large the resulting prime should be in bits
-* @param coprime a positive integer the result should be coprime to
+* @param coprime a positive integer that (prime - 1) should be coprime to
* @param equiv a non-negative number that the result should be
equivalent to modulo equiv_mod
* @param equiv_mod the modulus equiv should be checked against