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:
@ -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;
|
||||
|
Reference in New Issue
Block a user