1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Attempt at solving the FP exception in the QED code

This commit is contained in:
Antonin Portelli 2018-05-14 19:05:54 +01:00
parent 5e3be47117
commit 9d835afa35

View File

@ -185,7 +185,7 @@ namespace QCD{
vol = vol * latt_size[d];
}
invKHatSquared(weight);
weight = sqrt(vol*real(weight));
weight = sqrt(vol)*sqrt(weight);
zmSub(weight);
}