From 66e57186104232ea8a8f10e9b51ffb372177dd9b Mon Sep 17 00:00:00 2001 From: Azusa Yamaguchi Date: Sun, 14 Jun 2015 00:59:50 +0100 Subject: [PATCH] const safety --- lib/qcd/utils/WilsonLoops.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/qcd/utils/WilsonLoops.h b/lib/qcd/utils/WilsonLoops.h index 82230aa8..69b86859 100644 --- a/lib/qcd/utils/WilsonLoops.h +++ b/lib/qcd/utils/WilsonLoops.h @@ -70,7 +70,7 @@ public: ////////////////////////////////////////////////// // the sum over all staples on each site ////////////////////////////////////////////////// - static void Staple(GaugeMat &staple,GaugeLorentz &Umu,int mu){ + static void Staple(GaugeMat &staple,const GaugeLorentz &Umu,int mu){ std::vector U(4,Umu._grid); for(int d=0;d &U, const int mu, typedef WilsonLoops ColourWilsonLoops; + typedef WilsonLoops U1WilsonLoops; + typedef WilsonLoops SU2WilsonLoops; + typedef WilsonLoops SU3WilsonLoops; }} - - - - - #endif