mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00: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…
Reference in New Issue
Block a user