1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 15:27:06 +01:00

Fixed bug in LapEvec if machine running spread-out in time

This commit is contained in:
Michael Marshall
2019-03-26 13:24:39 +00:00
parent ae565b006a
commit 9fce1263be
2 changed files with 9 additions and 1 deletions

View File

@ -328,7 +328,9 @@ void TLapEvec<GImpl>::execute(void)
for (int i=0;i<LPar.Nvec;i++){
std::cout << "Inserting Timeslice " << t << " into vector " << i << std::endl;
InsertSliceLocal(eig[t].evec[i],eig4d.evec[i],0,t,3);
eig4d.eval[i] = eig[0].eval[i];
// TODO: Discuss: is this needed? Is there a better way?
if(t==0)
eig4d.eval[i] = eig[t].eval[i];
}
}