diff options
author | lloyd <[email protected]> | 2010-03-23 01:09:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-23 01:09:54 +0000 |
commit | d695d7832a86c0c7f165ab8b052c59525d210966 (patch) | |
tree | 749804bf422171e2c5f9d723a160d13b5e16fd11 /doc/examples | |
parent | 38c40a8c9509058dff7d6528d36cd9e4286258da (diff) |
Fix factor wrt rename of primality test functions
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/factor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/factor.cpp b/doc/examples/factor.cpp index b0105426b..c4d37c92b 100644 --- a/doc/examples/factor.cpp +++ b/doc/examples/factor.cpp @@ -101,7 +101,7 @@ std::vector<BigInt> factorize(const BigInt& n_in, while(n != 1) { - if(is_prime(n, rng)) + if(check_prime(n, rng)) { factors.push_back(n); break; |