1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Small changes to the A2A header and module

This commit is contained in:
fionnoh 2018-06-22 12:29:42 +01:00
parent 0de090ee74
commit 1ac3526f33
2 changed files with 3 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class A2AModesSchurDiagTwo
{
if (i < Nl)
{
this->low_mode_w(action, evec->at(i), eval->at(i), wout_5d, wout_5d);
this->low_mode_w(action, evec->at(i), eval->at(i), wout_5d, wout_4d);
}
else
{

View File

@ -168,6 +168,8 @@ void TA2AVectors<FImpl, nBasis>::execute(void)
envGetTmp(FermionField, tmp);
envGetTmp(FermionField, tmp2);
// TODO: At the moment weighting only applies to the 4d->5d source path
// similar to how the 5d and 4d srcs are passed in, this needs more work to be less brittle
double weight = 1.0 / sqrt(Ns*Nc*Nsrc);
int N_count = 0;
for (unsigned int s = 0; s < Ns; ++s)