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

Merge in Alessandro's changes [test fails]

This commit is contained in:
Julian Lenz
2023-05-03 02:53:03 +01:00
8 changed files with 86 additions and 144 deletions

View File

@ -144,10 +144,8 @@ bool is_element_of_sp2n_algebra(T U) {
aux = U - adj(U);
std::cout << GridLogMessage << "T - Tda = " << norm2(aux) << std::endl;
assert(norm2(aux) < 1e-8);
aux = U + adj(U);
std::cout << GridLogMessage << "T + Tda = " << norm2(aux) << std::endl;
assert(norm2(aux) < 1e-8);
std::cout << GridLogMessage << "Check that Omega U Omega = conj(U)"
<< std::endl;