mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Forgot some follow-ups on changed signature
This commit is contained in:
parent
96773f5254
commit
5e539e2d54
@ -327,7 +327,7 @@ class GaugeGroup {
|
||||
static void ProjectOnGeneralGroup(Lattice<iVector<iScalar<iMatrix<vComplexD, N> >, Nd> > &U) {
|
||||
for (int mu = 0; mu < Nd; mu++) {
|
||||
auto Umu = PeekIndex<LorentzIndex>(U, mu);
|
||||
ProjectOnGeneralGroup(Umu);
|
||||
Umu = ProjectOnGeneralGroup(Umu);
|
||||
}
|
||||
}
|
||||
|
||||
@ -353,7 +353,7 @@ class GaugeGroup {
|
||||
|
||||
template <int N> // Projects on SU(N), Sp(2N)
|
||||
static void ProjectOnSpecialGroup(Lattice<iScalar<iScalar<iMatrix<vComplexD, N> > > > &Umu) {
|
||||
ProjectOnGeneralGroup(Umu);
|
||||
Umu = ProjectOnGeneralGroup(Umu);
|
||||
auto det = Determinant(Umu);
|
||||
|
||||
det = conjugate(det);
|
||||
|
@ -93,7 +93,7 @@ void test_group_projections(T U) {
|
||||
std::cout << GridLogMessage << "Apply to deformed matrix" << std::endl;
|
||||
|
||||
U = U + Delta * identity;
|
||||
Sp<Nc>::ProjectOnGeneralGroup(U);
|
||||
U = Sp<Nc>::ProjectOnGeneralGroup(U);
|
||||
assert(is_element_of_sp2n_group(U));
|
||||
|
||||
name = "ProjectOnSpecialGroup";
|
||||
|
Loading…
Reference in New Issue
Block a user