mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
const fix in slice functions
This commit is contained in:
parent
4bc21ec7cb
commit
0c66719210
@ -361,7 +361,7 @@ PARALLEL_FOR_LOOP
|
||||
|
||||
|
||||
template<class vobj>
|
||||
void InsertSlice(const Lattice<vobj> &lowDim,Lattice<vobj> & higherDim,int slice, int orthog)
|
||||
void InsertSlice(Lattice<vobj> &lowDim,Lattice<vobj> & higherDim,int slice, int orthog)
|
||||
{
|
||||
typedef typename vobj::scalar_object sobj;
|
||||
sobj s;
|
||||
@ -404,7 +404,7 @@ PARALLEL_FOR_LOOP
|
||||
}
|
||||
|
||||
template<class vobj>
|
||||
void ExtractSlice(Lattice<vobj> &lowDim,const Lattice<vobj> & higherDim,int slice, int orthog)
|
||||
void ExtractSlice(Lattice<vobj> &lowDim, Lattice<vobj> & higherDim,int slice, int orthog)
|
||||
{
|
||||
typedef typename vobj::scalar_object sobj;
|
||||
sobj s;
|
||||
|
Loading…
Reference in New Issue
Block a user