aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/factor.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-23 01:09:54 +0000
committerlloyd <[email protected]>2010-03-23 01:09:54 +0000
commitd695d7832a86c0c7f165ab8b052c59525d210966 (patch)
tree749804bf422171e2c5f9d723a160d13b5e16fd11 /doc/examples/factor.cpp
parent38c40a8c9509058dff7d6528d36cd9e4286258da (diff)
Fix factor wrt rename of primality test functions
Diffstat (limited to 'doc/examples/factor.cpp')
-rw-r--r--doc/examples/factor.cpp2
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;