diff options
author | lloyd <[email protected]> | 2008-10-08 03:15:34 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-08 03:15:34 +0000 |
commit | 8343194ea16297eb3e51627eb3f35c529850c6f8 (patch) | |
tree | 22aeac286d2cbbdbe8790b08e4187d369f3c4efb /doc/examples/factor.cpp | |
parent | be5e48619a63559ad777396d69cc8cc95ef0af15 (diff) |
Update examples for recent API changes
Diffstat (limited to 'doc/examples/factor.cpp')
-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 c3a46a6ba..cf4d395d0 100644 --- a/doc/examples/factor.cpp +++ b/doc/examples/factor.cpp @@ -18,7 +18,7 @@ using namespace Botan; BigInt rho(const BigInt& n, RandomNumberGenerator& rng) { - BigInt x = random_integer(rng, 0, n-1); + BigInt x = BigInt::random_integer(rng, 0, n-1); BigInt y = x; BigInt d = 0; |