diff options
author | lloyd <[email protected]> | 2015-04-12 23:49:44 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2015-04-12 23:49:44 +0000 |
commit | 2443574367b824909c727feeb25ee535c830a014 (patch) | |
tree | b95e6da4e8e7c71ad65f095b371cdd0fcb9439e4 /src | |
parent | 196b4b3f8bf93c343d59cb69f2b25413bf20b917 (diff) |
Fix
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/math/numbertheory/numthry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/numthry.cpp b/src/lib/math/numbertheory/numthry.cpp index 5fa8d4541..fe943cc6b 100644 --- a/src/lib/math/numbertheory/numthry.cpp +++ b/src/lib/math/numbertheory/numthry.cpp @@ -311,7 +311,7 @@ bool is_prime(const BigInt& n, RandomNumberGenerator& rng, for(size_t i = 0; i != test_iterations; ++i) { const BigInt a = BigInt::random_integer(rng, 2, n_minus_1); - const BigInt y = pow_mod(a); + BigInt y = pow_mod(a); if(mr_witness(std::move(y), reducer, n_minus_1, s)) return false; |