mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
precision fix
This commit is contained in:
parent
a6adb85a1b
commit
d921a99b1a
@ -113,7 +113,7 @@ namespace Grid {
|
||||
LatticeCoordinate(coor, nu);
|
||||
ph = ph + twist[nu]*coor*((1./(in._grid->_fdimensions[nu])));
|
||||
}
|
||||
in_buf = exp((Real)(2.0*M_PI)*ci*ph*(-1.0))*in;
|
||||
in_buf = exp((Real)(-2.0*M_PI)*ci*ph)*in;
|
||||
|
||||
theFFT.FFT_all_dim(in_k,in_buf,FFT::forward);
|
||||
this->MomentumSpacePropagator(prop_k,in_k,mass,twist);
|
||||
|
Loading…
Reference in New Issue
Block a user