From 574ea4f843dcffcbb366f600c0fd6ad6f4819f17 Mon Sep 17 00:00:00 2001 From: paboyle Date: Tue, 19 Apr 2016 15:15:11 -0700 Subject: [PATCH] const safety --- lib/lattice/Lattice_peekpoke.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lattice/Lattice_peekpoke.h b/lib/lattice/Lattice_peekpoke.h index 5edc223a..9bece943 100644 --- a/lib/lattice/Lattice_peekpoke.h +++ b/lib/lattice/Lattice_peekpoke.h @@ -152,7 +152,7 @@ PARALLEL_FOR_LOOP // Peek a scalar object from the SIMD array ////////////////////////////////////////////////////////// template - void peekLocalSite(sobj &s,Lattice &l,std::vector &site){ + void peekLocalSite(sobj &s,const Lattice &l,std::vector &site){ GridBase *grid=l._grid;