diff --git a/fastpm/core.py b/fastpm/core.py index 5159bc0..7628f1e 100644 --- a/fastpm/core.py +++ b/fastpm/core.py @@ -110,8 +110,8 @@ def __init__(self, pm, cosmology, B=1, a_linear=1.0): def nbodystep(self): return FastPMStep(self) - def whitenoise(self, seed, unitary=False): - return self.pm.generate_whitenoise(seed, type='complex', unitary=unitary) + def whitenoise(self, seed, unitary=False, invertphase=False): + return self.pm.generate_whitenoise(seed, type='complex', unitary=unitary, invertphase=False) def linear(self, whitenoise, Pk): return whitenoise.apply(lambda k, v: