From fa237401ffb96bfe44fc0a72751142399f7e4171 Mon Sep 17 00:00:00 2001 From: Lanny91 Date: Wed, 1 Feb 2017 12:56:55 +0000 Subject: [PATCH] Consistent variable name in macro --- extras/Hadrons/Modules/MContraction/WeakHamiltonian.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/Hadrons/Modules/MContraction/WeakHamiltonian.hpp b/extras/Hadrons/Modules/MContraction/WeakHamiltonian.hpp index cb3775ab..f9b0481f 100644 --- a/extras/Hadrons/Modules/MContraction/WeakHamiltonian.hpp +++ b/extras/Hadrons/Modules/MContraction/WeakHamiltonian.hpp @@ -56,7 +56,7 @@ for (unsigned int t = 0; t < buf.size(); ++t)\ //// Contraction of mu index: use 'mu' variable in exp. #define SUM_MU(buf,exp)\ buf = zero;\ -for (unsigned int mu = 0; mu < Nd; ++mu)\ +for (unsigned int mu = 0; mu < ndim; ++mu)\ {\ buf += exp;\ }