From f2b98d0dcc90659be32c681c6eb50b050e58c1f1 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Wed, 18 Oct 2023 22:38:12 -0400 Subject: [PATCH] Const safety --- Grid/lattice/Lattice_crc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Grid/lattice/Lattice_crc.h b/Grid/lattice/Lattice_crc.h index 142e2349..1005d196 100644 --- a/Grid/lattice/Lattice_crc.h +++ b/Grid/lattice/Lattice_crc.h @@ -29,7 +29,7 @@ Author: Peter Boyle NAMESPACE_BEGIN(Grid); -template void DumpSliceNorm(std::string s,Lattice &f,int mu=-1) +template void DumpSliceNorm(std::string s,const Lattice &f,int mu=-1) { auto ff = localNorm2(f); if ( mu==-1 ) mu = f.Grid()->Nd()-1;