From f23626a6b80a653c68d2a9d2860dc65c5be98f09 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Sat, 2 Apr 2022 11:32:15 +0100 Subject: [PATCH] End scope by additional block in CloverHelpers.h --- Grid/qcd/action/fermion/CloverHelpers.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Grid/qcd/action/fermion/CloverHelpers.h b/Grid/qcd/action/fermion/CloverHelpers.h index 67417fcd..c72a79e8 100644 --- a/Grid/qcd/action/fermion/CloverHelpers.h +++ b/Grid/qcd/action/fermion/CloverHelpers.h @@ -332,7 +332,7 @@ public: conformable(Diagonal, Triangle); long lsites = grid->lSites(); - + { typedef typename SiteCloverDiagonal::scalar_object scalar_object_diagonal; typedef typename SiteCloverTriangle::scalar_object scalar_object_triangle; typedef iMatrix mat; @@ -416,11 +416,7 @@ public: pokeLocalSite(diagonal_exp_tmp, diagonalExp_v, lcoor); pokeLocalSite(triangle_exp_tmp, triangleExp_v, lcoor); }); - - diagonal_v.ViewClose(); - triangle_v.ViewClose(); - diagonalExp_v.ViewClose(); - triangleExp_v.ViewClose(); + } Diagonal *= diag_mass; Triangle *= diag_mass;