diff options
Diffstat (limited to 'fg21sim/galactic/synchrotron.py')
-rw-r--r-- | fg21sim/galactic/synchrotron.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/galactic/synchrotron.py b/fg21sim/galactic/synchrotron.py index 2d1a59f..525845b 100644 --- a/fg21sim/galactic/synchrotron.py +++ b/fg21sim/galactic/synchrotron.py @@ -114,7 +114,7 @@ class Synchrotron: alpha = 0.0599 beta = 0.782 # angular power spectrum of the Gaussian random field - ell = np.arange(self.lmax+1).astype(np.int) + ell = np.arange(self.lmax+1, dtype=int) cl = np.zeros(ell.shape) ell_idx = ell >= self.lmin cl[ell_idx] = (ell[ell_idx] ** gamma * |