mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
correct tests (failing)
This commit is contained in:
parent
fd2a637010
commit
b3533ca847
@ -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);
|
||||
|
@ -49,6 +49,24 @@ int main(int argc, char** argv) {
|
||||
|
||||
Sp4TwoIndexAntiSymm::printGenerators();
|
||||
Sp4TwoIndexAntiSymm::testGenerators();
|
||||
|
||||
std::cout << GridLogMessage << "*********************************************"
|
||||
<< std::endl;
|
||||
std::cout << GridLogMessage << "* Generators for Sp(6) TwoIndex AntiSymmetric" << std::endl;
|
||||
std::cout << GridLogMessage << "*********************************************"
|
||||
<< std::endl;
|
||||
|
||||
SU_TwoIndex<6, AntiSymmetric>::printGenerators();
|
||||
SU_TwoIndex<6, AntiSymmetric>::testGenerators();
|
||||
|
||||
std::cout << GridLogMessage << "*********************************************"
|
||||
<< std::endl;
|
||||
std::cout << GridLogMessage << "* Generators for Sp(8) TwoIndex AntiSymmetric" << std::endl;
|
||||
std::cout << GridLogMessage << "*********************************************"
|
||||
<< std::endl;
|
||||
|
||||
Sp_TwoIndex<8, AntiSymmetric>::printGenerators();
|
||||
Sp_TwoIndex<8, AntiSymmetric>::testGenerators();
|
||||
|
||||
Grid_finalize();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user