diff --git a/lib/lattice/Lattice_transfer.h b/lib/lattice/Lattice_transfer.h index 5a04d551..1c74a82d 100644 --- a/lib/lattice/Lattice_transfer.h +++ b/lib/lattice/Lattice_transfer.h @@ -322,10 +322,13 @@ inline void blockPromote(const Lattice &coarseData, for(int d=0;d<_ndimension;d++) coor_c[d]=coor_f[d]/block_r[d]; Lexicographic::IndexFromCoor(coor_c,sc,coarse->_rdimensions); - // TODO: These lines here prevent this commit from working + // The temporary is necessary, since a pure instance of Grid::simd<...> is + // not a valid argument to operator+ with an iVector, we need an an iScalar + typename vobjC::tensor_reduced tmp; // iScalar>> -> iScalar>> for(int i=0;i