From 0b787e9fe0656a0f4d09bf23202043a10571eb41 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 20 Aug 2020 22:23:29 +0200 Subject: [PATCH] Avoid namespaec collision to make gcc happy --- Grid/qcd/hmc/integrators/Integrator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Grid/qcd/hmc/integrators/Integrator.h b/Grid/qcd/hmc/integrators/Integrator.h index 91af7372..d5475704 100644 --- a/Grid/qcd/hmc/integrators/Integrator.h +++ b/Grid/qcd/hmc/integrators/Integrator.h @@ -301,9 +301,9 @@ public: t_P[level] = 0; } - for (int step = 0; step < Params.MDsteps; ++step) { // MD step - int first_step = (step == 0); - int last_step = (step == Params.MDsteps - 1); + for (int stp = 0; stp < Params.MDsteps; ++stp) { // MD step + int first_step = (stp == 0); + int last_step = (stp == Params.MDsteps - 1); this->step(U, 0, first_step, last_step); }