mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-10 06:00:45 +01:00
ClangFormat
This commit is contained in:
parent
6a7bdca53b
commit
6e62f4f616
@ -115,8 +115,7 @@ bool has_correct_algebra_block_structure(const T& U) {
|
|||||||
std::cout << GridLogMessage << " ( -X^* W^* ) " << std::endl;
|
std::cout << GridLogMessage << " ( -X^* W^* ) " << std::endl;
|
||||||
for (int c1 = 0; c1 < nsp; c1++) // check on W
|
for (int c1 = 0; c1 < nsp; c1++) // check on W
|
||||||
{
|
{
|
||||||
for (int c2 = 0; c2 < nsp; c2++)
|
for (int c2 = 0; c2 < nsp; c2++) {
|
||||||
{
|
|
||||||
auto W = PeekIndex<ColourIndex>(U, c1, c2);
|
auto W = PeekIndex<ColourIndex>(U, c1, c2);
|
||||||
auto Wstar = PeekIndex<ColourIndex>(U, c1 + nsp, c2 + nsp);
|
auto Wstar = PeekIndex<ColourIndex>(U, c1 + nsp, c2 + nsp);
|
||||||
auto Ww = conjugate(Wstar);
|
auto Ww = conjugate(Wstar);
|
||||||
@ -127,10 +126,8 @@ bool has_correct_algebra_block_structure(const T& U) {
|
|||||||
assert(amizeroo.real() < 10e-6);
|
assert(amizeroo.real() < 10e-6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (int c1 = 0; c1 < nsp ; c1++)
|
for (int c1 = 0; c1 < nsp; c1++) {
|
||||||
{
|
for (int c2 = 0; c2 < nsp; c2++) {
|
||||||
for (int c2 = 0; c2 < nsp; c2++)
|
|
||||||
{
|
|
||||||
auto X = PeekIndex<ColourIndex>(U, c1, c2 + nsp);
|
auto X = PeekIndex<ColourIndex>(U, c1, c2 + nsp);
|
||||||
auto minusXstar = PeekIndex<ColourIndex>(U, c1 + nsp, c2);
|
auto minusXstar = PeekIndex<ColourIndex>(U, c1 + nsp, c2);
|
||||||
auto minusXx = conjugate(minusXstar);
|
auto minusXx = conjugate(minusXstar);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user