diff --git a/matrix/test_source.c b/matrix/test_source.c index 895a688..3bac70e 100644 --- a/matrix/test_source.c +++ b/matrix/test_source.c @@ -581,7 +581,7 @@ FUNCTION (test, ops) (const size_t M, const size_t N) { BASE r = FUNCTION(gsl_matrix,get) (m,i,j); BASE x = FUNCTION(gsl_matrix,get) (a,i,j); - BASE y = (i == j) ? (x + 5.0) : x; + BASE y = (i == j) ? (x + (ATOMIC) 5.0) : x; if (fabs(r - y) > 2 * GSL_FLT_EPSILON * fabs(y)) status = 1; }