aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/ressol.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-08 03:15:34 +0000
committerlloyd <[email protected]>2008-10-08 03:15:34 +0000
commit8343194ea16297eb3e51627eb3f35c529850c6f8 (patch)
tree22aeac286d2cbbdbe8790b08e4187d369f3c4efb /doc/examples/ressol.cpp
parentbe5e48619a63559ad777396d69cc8cc95ef0af15 (diff)
Update examples for recent API changes
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";