diff --git a/Grid/lattice/Lattice_peekpoke.h b/Grid/lattice/Lattice_peekpoke.h index feca2f44..8f649bd7 100644 --- a/Grid/lattice/Lattice_peekpoke.h +++ b/Grid/lattice/Lattice_peekpoke.h @@ -156,7 +156,7 @@ void peekSite(sobj &s,const Lattice &l,const Coordinate &site){ // Peek a scalar object from the SIMD array ////////////////////////////////////////////////////////// template -accelerator_inline void peekLocalSite(sobj &s,const Lattice &l,Coordinate &site){ +inline void peekLocalSite(sobj &s,const Lattice &l,Coordinate &site){ GridBase *grid = l.Grid(); @@ -185,7 +185,7 @@ accelerator_inline void peekLocalSite(sobj &s,const Lattice &l,Coordinate }; template -accelerator_inline void pokeLocalSite(const sobj &s,Lattice &l,Coordinate &site){ +inline void pokeLocalSite(const sobj &s,Lattice &l,Coordinate &site){ GridBase *grid=l.Grid();