mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 05:30:46 +01:00
Attempt at solving the FP exception in the QED code
This commit is contained in:
parent
5e3be47117
commit
9d835afa35
@ -185,7 +185,7 @@ namespace QCD{
|
|||||||
vol = vol * latt_size[d];
|
vol = vol * latt_size[d];
|
||||||
}
|
}
|
||||||
invKHatSquared(weight);
|
invKHatSquared(weight);
|
||||||
weight = sqrt(vol*real(weight));
|
weight = sqrt(vol)*sqrt(weight);
|
||||||
zmSub(weight);
|
zmSub(weight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user