mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-10 06:00:45 +01:00
const safety
This commit is contained in:
parent
f2ae9682ff
commit
574ea4f843
@ -152,7 +152,7 @@ PARALLEL_FOR_LOOP
|
||||
// Peek a scalar object from the SIMD array
|
||||
//////////////////////////////////////////////////////////
|
||||
template<class vobj,class sobj>
|
||||
void peekLocalSite(sobj &s,Lattice<vobj> &l,std::vector<int> &site){
|
||||
void peekLocalSite(sobj &s,const Lattice<vobj> &l,std::vector<int> &site){
|
||||
|
||||
GridBase *grid=l._grid;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user