From 0c0c2b1e20d3290ca2d54fe3a8a9339aabc6d9dd Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Tue, 8 Mar 2022 09:44:51 +0000 Subject: [PATCH] Unnecessary arguments of CloverHelpers::Exponentiate_Clover removed. --- Grid/qcd/action/fermion/CloverHelpers.h | 6 +----- .../CompactWilsonCloverFermionImplementation.h | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Grid/qcd/action/fermion/CloverHelpers.h b/Grid/qcd/action/fermion/CloverHelpers.h index ad456bde..cd62f515 100644 --- a/Grid/qcd/action/fermion/CloverHelpers.h +++ b/Grid/qcd/action/fermion/CloverHelpers.h @@ -209,8 +209,6 @@ public: static void Exponentiate_Clover(CloverDiagonalField& Diagonal, CloverTriangleField& Triangle, - CloverDiagonalField& DiagonalInv, - CloverTriangleField& TriangleInv, RealD csw_t, RealD diag_mass) { // Do nothing @@ -313,9 +311,7 @@ public: } - static void Exponentiate_Clover(CloverDiagonalField& Diagonal, CloverTriangleField& Triangle, - CloverDiagonalField& DiagonalInv, CloverTriangleField& TriangleInv, - RealD csw_t, RealD diag_mass) { + static void Exponentiate_Clover(CloverDiagonalField& Diagonal, CloverTriangleField& Triangle, RealD csw_t, RealD diag_mass) { GridBase* grid = Diagonal.Grid(); int NMAX = getNMAX(Diagonal, 3.*csw_t/diag_mass); diff --git a/Grid/qcd/action/fermion/implementation/CompactWilsonCloverFermionImplementation.h b/Grid/qcd/action/fermion/implementation/CompactWilsonCloverFermionImplementation.h index 5120680b..2a53a254 100644 --- a/Grid/qcd/action/fermion/implementation/CompactWilsonCloverFermionImplementation.h +++ b/Grid/qcd/action/fermion/implementation/CompactWilsonCloverFermionImplementation.h @@ -328,7 +328,7 @@ void CompactWilsonCloverFermion::ImportGauge(const GaugeFie // Exponentiate the clover (nothing happens in case of the standard clover) double t5 = usecond(); - CloverHelpers::Exponentiate_Clover(Diagonal, Triangle, DiagonalInv, TriangleInv, csw_t, this->diag_mass); + CloverHelpers::Exponentiate_Clover(Diagonal, Triangle, csw_t, this->diag_mass); // Possible modify the boundary values double t6 = usecond();