1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 11:15:55 +01:00

ConvertType for blockInnerProduct

This commit is contained in:
Christoph Lehner 2020-06-18 11:53:21 -04:00
parent 9fcb47ee63
commit 81a8209749

View File

@ -376,8 +376,8 @@ inline void blockInnerProduct(Lattice<CComplex> &CoarseInner,
fine_inner = localInnerProduct(fineX,fineY);
blockSum(coarse_inner,fine_inner);
accelerator_for(ss, coarse->oSites(), 1, {
CoarseInner_[ss] = coarse_inner_[ss];
});
convertType(CoarseInner_[ss],coarse_inner_[ss]);
});
}
template<class vobj,class CComplex>