Skip to content

Commit d4b4e6e

Browse files
Merge branch 'master' into hopping_fix
2 parents f086a6c + 304c05b commit d4b4e6e

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

monomial/cloverdet_monomial.c

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -267,17 +267,14 @@ double cloverdet_acc(const int id, hamiltonian_field_t *const hf) {
267267
g_kappa = mnl->kappa;
268268
boundary(mnl->kappa);
269269

270-
if (g_debug_level > 2 || g_strict_residual_check ||
271-
!(mnl->external_library == QUDA_LIB &&
272-
mnl->solver_params.external_inverter == QUDA_INVERTER)) {
273-
sw_term((const su3 **)hf->gaugefield, mnl->kappa, mnl->c_sw);
270+
sw_term((const su3 **)hf->gaugefield, mnl->kappa, mnl->c_sw);
274271

275-
if (!mnl->even_odd_flag) {
276-
N = VOLUME;
277-
} else {
278-
sw_invert(EE, mnl->mu);
279-
}
272+
if (!mnl->even_odd_flag) {
273+
N = VOLUME;
274+
} else {
275+
sw_invert(EE, mnl->mu);
280276
}
277+
281278
g_sloppy_precision_flag = 0;
282279

283280
if (mnl->solver == MG || mnl->solver == BICGSTAB) {

quda_interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ void _loadCloverQuda(QudaInvertParam *inv_param) {
483483
} else {
484484
tm_stopwatch_push(&g_timers, "loadCloverQuda", "");
485485
if (first_call) {
486-
first_call = 1;
486+
first_call = 0;
487487
} else {
488488
freeCloverQuda();
489489
}

0 commit comments

Comments
 (0)