1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 19:25:56 +01:00

Debugged last commit for the Two index representation

This commit is contained in:
Guido Cossu 2016-09-22 22:16:21 +01:00
parent 6ffadca153
commit 510e340e16
2 changed files with 4 additions and 3 deletions

View File

@ -81,8 +81,9 @@ class SU_TwoIndex : public SU<ncolour> {
int counter = 0; int counter = 0;
for (int i = 1; i < ncolour; i++) { for (int i = 1; i < ncolour; i++) {
for (int j = 0; j < i; j++) { for (int j = 0; j < i; j++) {
a[counter++][0] = i; a[counter][0] = i;
a[counter++][1] = j; a[counter][1] = j;
counter++;
} }
} }
filled = true; filled = true;

View File

@ -406,7 +406,7 @@ int main(int argc, char** argv) {
if (SU2TwoIndexAntiSymm::Dimension != 1){ if (TwoIndexRep<Nc, AntiSymmetric >::Dimension != 1){
std::cout << GridLogMessage << "*********************************************" std::cout << GridLogMessage << "*********************************************"
<< std::endl; << std::endl;