1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-01-04 03:29:34 +00:00

cleaning up requested by Julian

This commit is contained in:
Alessandro Lupo
2023-05-02 13:31:17 +01:00
parent 7b3b7093fa
commit 86b02c3cd8
4 changed files with 6 additions and 10 deletions

View File

@@ -340,12 +340,12 @@ class GaugeGroup {
template <class vtype, int N>
static void ProjectOnGaugeGroup(iVector<vtype,N> &r) {
r = ProjectOnGaugeGroup(r, group_name());
ProjectOnGaugeGroup(r, group_name());
}
template <class vtype,int N, typename std::enable_if< GridTypeMapper<vtype>::TensorLevel == 0 >::type * =nullptr>
static void ProjectOnGaugeGroup(iMatrix<vtype,N> &arg) {
arg = ProjectOnGaugeGroup(arg, group_name());
ProjectOnGaugeGroup(arg, group_name());
}
template <int N> // reunitarise, resimplectify... previously ProjectSUn
@@ -428,7 +428,6 @@ static void ProjectSUn(
}
}
// Explicit specialisation for SU(3).
// Explicit specialisation for SU(3).
static void ProjectSU3(
Lattice<iScalar<iScalar<iMatrix<vComplexD, 3> > > > &Umu) {