diff options
author | Thomas White <taw@physics.org> | 2019-09-25 11:34:19 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-09-25 11:34:19 +0200 |
commit | 75648facb65436124aa988ddfd7744016e7900b2 (patch) | |
tree | 1360d2f8bd74e5c93dca108e7b6efa4c46199fbc /tests | |
parent | f279c7b556e64f7bec6343d6cf16edd489bc6f23 (diff) |
tests/rational_check: Fix wrong brackets
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rational_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rational_check.c b/tests/rational_check.c index 484264d9..6d4e247a 100644 --- a/tests/rational_check.c +++ b/tests/rational_check.c @@ -149,7 +149,7 @@ static int test_rational_matrix(gsl_rng *rng) transform_fractional_coords_rtnl(rm, rvec, rans); for ( i=0; i<size; i++ ) { - if ( fabs(rtnl_as_double(rans[i]) - gsl_vector_get(gans, i) > 0.001) ) + if ( fabs(rtnl_as_double(rans[i]) - gsl_vector_get(gans, i)) > 0.001 ) { STATUS("%25s %10f %10f\n", rtnl_format(rans[i]), rtnl_as_double(rans[i]), |