summaryrefslogtreecommitdiff
path: root/tests/tfma.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tfma.c')
-rw-r--r--tests/tfma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tfma.c b/tests/tfma.c
index e1f3cc543..051d90e00 100644
--- a/tests/tfma.c
+++ b/tests/tfma.c
@@ -273,7 +273,7 @@ main (int argc, char *argv[])
if (randlimb () % 2)
mpfr_neg (z, z, GMP_RNDN);
- rnd = randlimb () % 4;
+ rnd = RND_RAND ();
mpfr_set_prec (slong, 2 * prec);
if (mpfr_mul (slong, x, y, rnd))
{