From ac1d655de81861f82cc23f484daea86dfb356b33 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Mon, 19 Nov 2018 10:38:36 +0000 Subject: [PATCH] Const correctness patch --- Grid/lattice/Lattice_transfer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grid/lattice/Lattice_transfer.h b/Grid/lattice/Lattice_transfer.h index f988f310..2444e0ac 100644 --- a/Grid/lattice/Lattice_transfer.h +++ b/Grid/lattice/Lattice_transfer.h @@ -485,7 +485,7 @@ void InsertSliceLocal(const Lattice &lowDim, Lattice & higherDim,int template -void ExtractSliceLocal(Lattice &lowDim, Lattice & higherDim,int slice_lo,int slice_hi, int orthog) +void ExtractSliceLocal(Lattice &lowDim, const Lattice & higherDim,int slice_lo,int slice_hi, int orthog) { typedef typename vobj::scalar_object sobj; @@ -520,7 +520,7 @@ void ExtractSliceLocal(Lattice &lowDim, Lattice & higherDim,int slic template -void Replicate(Lattice &coarse,Lattice & fine) +void Replicate(const Lattice &coarse,Lattice & fine) { typedef typename vobj::scalar_object sobj;