aboutsummaryrefslogtreecommitdiff
path: root/src/ecgen.c
diff options
context:
space:
mode:
authorJ08nY2017-04-05 16:27:02 +0200
committerJ08nY2017-04-05 16:27:02 +0200
commit9718963a643f0ae15120ceea2d26899892ab1ed4 (patch)
tree0987ce122d298d60aa7d637b84583ce42abf6658 /src/ecgen.c
parent605049a142aff150d36711c66935c80875e84e36 (diff)
downloadecgen-9718963a643f0ae15120ceea2d26899892ab1ed4.tar.gz
ecgen-9718963a643f0ae15120ceea2d26899892ab1ed4.tar.zst
ecgen-9718963a643f0ae15120ceea2d26899892ab1ed4.zip
Diffstat (limited to 'src/ecgen.c')
-rw-r--r--src/ecgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ecgen.c b/src/ecgen.c
index bd33b04..7d457f7 100644
--- a/src/ecgen.c
+++ b/src/ecgen.c
@@ -44,7 +44,7 @@ static struct config_t cfg;
bool init(void) {
// Init PARI, 1GB stack, 1M primes
- pari_init(1000000000, 1000000);
+ pari_init(cfg.memory, 1000000);
// Init PARI PRNG
if (!random_init()) return false;