From da0babaac631951dcba1c25f8f7883d97969d586 Mon Sep 17 00:00:00 2001 From: maddyscientist Date: Fri, 10 Jun 2016 02:14:32 -0700 Subject: [PATCH] Set off-diagonal clover terms to be non-zero in clover invert test to make clover verification non trivial --- tests/invert_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/invert_test.cpp b/tests/invert_test.cpp index 4a1f9e3216..962af569cf 100644 --- a/tests/invert_test.cpp +++ b/tests/invert_test.cpp @@ -316,7 +316,7 @@ int main(int argc, char **argv) } if (dslash_type == QUDA_CLOVER_WILSON_DSLASH) { - double norm = 0.0; // clover components are random numbers in the range (-norm, norm) + double norm = 0.2; // clover components are random numbers in the range (-norm, norm) double diag = 1.0; // constant added to the diagonal size_t cSize = (inv_param.clover_cpu_prec == QUDA_DOUBLE_PRECISION) ? sizeof(double) : sizeof(float);