diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-01-19 13:42:40 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-01-19 13:42:40 +0100 |
commit | d70a9e55c3595cf7ee84ca9f3b1d5e272a5e3999 (patch) | |
tree | 999a0e9fe30dc6ec4bdca1ca89c7f9b0a9c9762e /test/monniaux/mod_int_mat/int_mat.c | |
parent | 6c5df17a302e99dec62aa749ffc30745cc7679a4 (diff) | |
download | compcert-kvx-d70a9e55c3595cf7ee84ca9f3b1d5e272a5e3999.tar.gz compcert-kvx-d70a9e55c3595cf7ee84ca9f3b1d5e272a5e3999.zip |
use a prime in PRNG
Diffstat (limited to 'test/monniaux/mod_int_mat/int_mat.c')
-rw-r--r-- | test/monniaux/mod_int_mat/int_mat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |