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) {