From 0c667192109ffe66cbbf373a5ff69962209e1194 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Thu, 12 May 2016 13:01:35 +0100 Subject: [PATCH] const fix in slice functions --- lib/lattice/Lattice_transfer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lattice/Lattice_transfer.h b/lib/lattice/Lattice_transfer.h index 178b5937..760f90ec 100644 --- a/lib/lattice/Lattice_transfer.h +++ b/lib/lattice/Lattice_transfer.h @@ -361,7 +361,7 @@ PARALLEL_FOR_LOOP template -void InsertSlice(const Lattice &lowDim,Lattice & higherDim,int slice, int orthog) +void InsertSlice(Lattice &lowDim,Lattice & higherDim,int slice, int orthog) { typedef typename vobj::scalar_object sobj; sobj s; @@ -404,7 +404,7 @@ PARALLEL_FOR_LOOP } template -void ExtractSlice(Lattice &lowDim,const Lattice & higherDim,int slice, int orthog) +void ExtractSlice(Lattice &lowDim, Lattice & higherDim,int slice, int orthog) { typedef typename vobj::scalar_object sobj; sobj s;