1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-13 19:47:06 +01:00

correct tests (failing)

This commit is contained in:
Alessandro Lupo
2023-05-16 17:43:52 +01:00
parent fd2a637010
commit b3533ca847
2 changed files with 19 additions and 1 deletions

View File

@ -240,7 +240,7 @@ class GaugeGroupTwoIndex : public GaugeGroup<ncolour, group_name> {
<< std::endl;
if (a==b) {
assert(imag(Tr) < 1e-8);
assert(real(Tr) - 1 < 1e-8);
assert(real(Tr) - ((ncolour+S*2)*0.5) < 1e-8);
} else {
assert(imag(Tr) < 1e-8);
assert(real(Tr) < 1e-8);