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

Review changes

This commit is contained in:
Michael Marshall
2019-11-18 11:59:13 +00:00
parent 7bf42b9c0e
commit 18177d9709
5 changed files with 7 additions and 14 deletions

View File

@ -142,7 +142,7 @@ template <typename GImpl>
void TLapEvec<GImpl>::setup(void)
{
GridCartesian * gridHD = env().getGrid();
gridLD.reset(MakeLowerDimGrid(gridHD));
MakeLowerDimGrid(gridLD,gridHD);
const int Ntlocal{gridHD->LocalDimensions()[Tdir]};
// Temporaries
envTmpLat(GaugeField, "Umu_stout");
@ -305,7 +305,7 @@ void TLapEvec<GImpl>::execute(void)
}
GridLogIRL.Active( PreviousIRLLogState );
gridHD->GlobalSum(ConvergenceErrors);
if(!ConvergenceErrors==0)
if(ConvergenceErrors!=0)
{
HADRONS_ERROR(Program,"The eingensolver failed to find enough eigenvectors on at least one node");
}