diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bench/mpfrbench.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/bench/mpfrbench.c b/tools/bench/mpfrbench.c index c0b4e1cc5..00f83de61 100644 --- a/tools/bench/mpfrbench.c +++ b/tools/bench/mpfrbench.c @@ -158,8 +158,7 @@ compute_score (mpz_t zscore, int op, gmp_randstate_t randstate) mpz_init_set_si (zscore, 1); i = op; - for (k = 0; k < (int)sizeof (arrayprecision_op1) / sizeof (arrayprecision_op1[0]); - k++, countprec++) + for (k = 0; k < numberof (arrayprecision_op1); k++, countprec++) { mpfr_prec_t precision1 = arrayprecision_op1[k]; mpfr_prec_t precision2 = arrayprecision_op2[k]; |