Attempt at solving the FP exception in the QED code

This commit is contained in:
portelli committed 2018-05-14 19:05:54 +01:00
1 parent 5e3be47117
commit 9d835afa35
1 file changed
+1 -1
+1 -1
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);
}