summaryrefslogtreecommitdiff
path: root/randlc2x.c
diff options
context:
space:
mode:
Diffstat (limited to 'randlc2x.c')
-rw-r--r--randlc2x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/randlc2x.c b/randlc2x.c
index e9412ff60..3999d406b 100644
--- a/randlc2x.c
+++ b/randlc2x.c
@@ -38,7 +38,7 @@ gmp_rand_init_lc_2exp (s, a, c, m2exp)
unsigned long int m2exp;
#endif
{
- mpz_init_set_ui (s->seed, 0);
+ mpz_init_set_ui (s->seed, 1);
/* Allocate algorithm specific data. */
s->data.lc = (__gmp_rand_data_lc *)