summaryrefslogtreecommitdiff
path: root/randlc2x.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2000-04-01 16:36:48 +0200
committerLinus Nordberg <linus@nordberg.se>2000-04-01 16:36:48 +0200
commita95f8e13373be45d59921a62cc83f4db8b89e7b1 (patch)
treea0cd63567cdea4d4c9307472d0bf89fee85f7115 /randlc2x.c
parentbdd2494cc49e0ffba45041f566661aa35fd82e4d (diff)
downloadgmp-a95f8e13373be45d59921a62cc83f4db8b89e7b1.tar.gz
Change default seed to 1.
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 *)