From fada2aa0f7552dc2b7c3c53946bf13fdc592e030 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Sat, 1 Sep 2018 20:00:12 +0100 Subject: [PATCH] Hadrons: precision fix --- Hadrons/Modules/MScalarSUN/TwoPointNPR.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hadrons/Modules/MScalarSUN/TwoPointNPR.hpp b/Hadrons/Modules/MScalarSUN/TwoPointNPR.hpp index 83fa7f07..733882a5 100644 --- a/Hadrons/Modules/MScalarSUN/TwoPointNPR.hpp +++ b/Hadrons/Modules/MScalarSUN/TwoPointNPR.hpp @@ -135,7 +135,7 @@ void TTwoPointNPR::execute(void) { const unsigned int nd = env().getNd(); const unsigned int nl = env().getDim(0); - const double invV = 1./env().getVolume(); + const Real invV = 1./env().getVolume(); FFT fft(env().getGrid()); std::vector result; TwoPointNPRResult twoPtp1, twoPtp2, twoPtDisc;