1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-15 02:05:37 +00:00

Reorder the loop

This commit is contained in:
Peter Boyle 2018-08-28 11:32:23 +01:00
parent d45647698d
commit bd27940f78

View File

@ -206,9 +206,9 @@ void TA2AVectors<FImpl, nBasis>::execute(void)
envGetTmp(FermionField, tmp2);
int N_count = 0;
for (unsigned int T = 0; T < Nsrc; T++)
for (unsigned int s = 0; s < Ns; ++s)
for (unsigned int c = 0; c < Nc; ++c)
for (unsigned int T = 0; T < Nsrc; T++)
for (unsigned int c = 0; c < Nc; ++c)
{
auto &prop_src = envGet(PropagatorField, sources[T]);
LOG(Message) << "A2A src for s = " << s << " , c = " << c << ", T = " << T << std::endl;