From d70a9e55c3595cf7ee84ca9f3b1d5e272a5e3999 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Sat, 19 Jan 2019 13:42:40 +0100 Subject: use a prime in PRNG --- test/monniaux/mod_int_mat/int_mat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/monniaux/mod_int_mat/int_mat.c') diff --git a/test/monniaux/mod_int_mat/int_mat.c b/test/monniaux/mod_int_mat/int_mat.c index 0e51d7ba..fc763811 100644 --- a/test/monniaux/mod_int_mat/int_mat.c +++ b/test/monniaux/mod_int_mat/int_mat.c @@ -191,7 +191,7 @@ void modint_mat_mul7(unsigned m, unsigned n, unsigned p, modint modint_random(void) { static uint64_t next = 1325997111; - next = next * 1103515245 + 12345; + next = next * 1103515249 + 12345; return next % MODULUS; } -- cgit