diff options
Diffstat (limited to 'tests/tfma.c')
-rw-r--r-- | tests/tfma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tfma.c b/tests/tfma.c index 02eed66..81bc167 100644 --- a/tests/tfma.c +++ b/tests/tfma.c @@ -62,7 +62,7 @@ static void check_random (void) { mpfr_prec_t prec; - mpfr_rnd_t rnd_re, rnd_im; + int rnd_re, rnd_im; mpc_t a, b, c; mpc_init2 (a, 1000); @@ -80,7 +80,7 @@ check_random (void) for (rnd_re = 0; rnd_re < 4; rnd_re ++) for (rnd_im = 0; rnd_im < 4; rnd_im ++) - cmpfma (a, b, c, RNDC(rnd_re, rnd_im)); + cmpfma (a, b, c, MPC_RND (rnd_re, rnd_im)); } mpc_clear (a); |