summaryrefslogtreecommitdiff
path: root/nbtheory.cpp
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@users.noreply.github.com>2021-03-04 19:17:42 +0100
committerGitHub <noreply@github.com>2021-03-04 13:17:42 -0500
commit0a40a0c3cab53a6cc2d45a084d9c24d39fa97c96 (patch)
tree2204beffa43998a4a50fe6f80417a9585cd7d1d4 /nbtheory.cpp
parent1f1a7994c85f962954283eb27f1e6d9eb10d7ecb (diff)
downloadcryptopp-git-0a40a0c3cab53a6cc2d45a084d9c24d39fa97c96.tar.gz
Fix typos in documentation and comments (PR #1012)
Diffstat (limited to 'nbtheory.cpp')
-rw-r--r--nbtheory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nbtheory.cpp b/nbtheory.cpp
index b7a50306..8634cc1d 100644
--- a/nbtheory.cpp
+++ b/nbtheory.cpp
@@ -1,4 +1,4 @@
-// nbtheory.cpp - originally written and placed in the public domain by Wei Dai
+// nbtheory.cpp - originally written and placed in the public domain by Wei Dai
#include "pch.h"
@@ -490,7 +490,7 @@ Integer MihailescuProvablePrime(RandomNumberGenerator &rng, unsigned int pbits)
// progression p = p_0 + \lambda * q2 = p_0 + 2 * \lambda * q,
// with q the recursively generated prime above. We will be able
// to use Lucas tets for proving primality. A trick of Quisquater
- // allows taking q > cubic_root(p) rather then square_root: this
+ // allows taking q > cubic_root(p) rather than square_root: this
// decreases the recursion.
p.Randomize(rng, minP, maxP, Integer::ANY, 1, q2);