From 9cefdb9f4e43d9ffe002e7322af39a32add67694 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Mon, 4 May 2015 15:40:53 -0400 Subject: [PATCH] increase frequency of heavy-quark residual checks --- lib/inv_bicgstab_quda.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/inv_bicgstab_quda.cpp b/lib/inv_bicgstab_quda.cpp index b59d9f0b2c..fa7f2fbd7b 100644 --- a/lib/inv_bicgstab_quda.cpp +++ b/lib/inv_bicgstab_quda.cpp @@ -146,7 +146,7 @@ namespace quda { const bool use_heavy_quark_res = (param.residual_type & QUDA_HEAVY_QUARK_RESIDUAL) ? true : false; double heavy_quark_res = use_heavy_quark_res ? sqrt(HeavyQuarkResidualNormCuda(x,r).z) : 0.0; - int heavy_quark_check = 10; // how often to check the heavy quark residual + const int heavy_quark_check = 1; // how often to check the heavy quark residual double delta = param.delta;