From a6f4dbeb6d9f60e1a7ba2aa0511de772ddfe53bb Mon Sep 17 00:00:00 2001 From: Alessandro Lupo Date: Fri, 26 May 2023 12:13:40 +0100 Subject: [PATCH] remove redundant template parameter --- Grid/qcd/utils/GaugeGroupTwoIndex.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Grid/qcd/utils/GaugeGroupTwoIndex.h b/Grid/qcd/utils/GaugeGroupTwoIndex.h index ebfefc21..0ab3c193 100644 --- a/Grid/qcd/utils/GaugeGroupTwoIndex.h +++ b/Grid/qcd/utils/GaugeGroupTwoIndex.h @@ -49,11 +49,11 @@ struct DimensionHelper { static const int Dimension = (nc / 2) * (nc - 1) - 1; }; -template +template struct baseOffDiagonalSpHelper; template -struct baseOffDiagonalSpHelper { +struct baseOffDiagonalSpHelper { static const int ngroup = nc / 2; static void baseOffDiagonalSp(int i, int j, iScalar > > &eij) { eij = Zero(); @@ -93,7 +93,7 @@ struct baseOffDiagonalSpHelper { }; template -struct baseOffDiagonalSpHelper { +struct baseOffDiagonalSpHelper { static void baseOffDiagonalSp(int i, int j, iScalar > > &eij) { eij = Zero(); for (int k = 0; k < nc; k++) @@ -237,7 +237,7 @@ class GaugeGroupTwoIndex : public GaugeGroup { template static void baseOffDiagonalSp(int i, int j, iGroupMatrix &eij) { - baseOffDiagonalSpHelper::baseOffDiagonalSp(i, j, eij); + baseOffDiagonalSpHelper::baseOffDiagonalSp(i, j, eij); } static void printBase(void) {