1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Hadrons: precision fix

This commit is contained in:
Antonin Portelli 2018-09-01 20:00:12 +01:00
parent c193e4e675
commit fada2aa0f7

View File

@ -135,7 +135,7 @@ void TTwoPointNPR<SImpl>::execute(void)
{ {
const unsigned int nd = env().getNd(); const unsigned int nd = env().getNd();
const unsigned int nl = env().getDim(0); const unsigned int nl = env().getDim(0);
const double invV = 1./env().getVolume(); const Real invV = 1./env().getVolume();
FFT fft(env().getGrid()); FFT fft(env().getGrid());
std::vector<TwoPointNPRResult> result; std::vector<TwoPointNPRResult> result;
TwoPointNPRResult twoPtp1, twoPtp2, twoPtDisc; TwoPointNPRResult twoPtp1, twoPtp2, twoPtDisc;