aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/ressol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/ressol.cpp')
-rw-r--r--doc/examples/ressol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/ressol.cpp b/doc/examples/ressol.cpp
index 9fedc8115..ff49ef19d 100644
--- a/doc/examples/ressol.cpp
+++ b/doc/examples/ressol.cpp
@@ -14,7 +14,7 @@ void test_ressol(const BigInt& p, RandomNumberGenerator& rng)
for(int j = 0; j != 1000; ++j)
{
- BigInt x = random_integer(rng, 0, p);
+ BigInt x = BigInt::random_integer(rng, 0, p);
//if(x % p_16 == 0)
//std::cout << "p = " << p << " x = " << x << "\n";