@@ -80,8 +80,8 @@ def _compute_indices(self):
8080 # We'll also generate a mapping for complex construction
8181 self .complex_count = sum (self .k_max )
8282 # These map indices in complex array to pair of indices in real array
83- self ._pos = np .zeros (self .complex_count , dtype = np . int )
84- self ._neg = np .zeros (self .complex_count , dtype = np . int )
83+ self ._pos = np .zeros (self .complex_count , dtype = int )
84+ self ._neg = np .zeros (self .complex_count , dtype = int )
8585
8686 i = 0
8787 ci = 0
@@ -217,7 +217,7 @@ def evaluate(self, v):
217217 x = np .zeros (shape = tuple ([np .prod (self .sz )] + list (v .shape [1 :])), dtype = v .dtype )
218218 for ell in range (0 , self .ell_max + 1 ):
219219 k_max = self .k_max [ell ]
220- idx_radial = ind_radial + np .arange (0 , k_max , dtype = np . int )
220+ idx_radial = ind_radial + np .arange (0 , k_max , dtype = int )
221221
222222 # include the normalization factor of angular part
223223 ang_nrms = self .angular_norms [idx_radial ]
@@ -228,7 +228,7 @@ def evaluate(self, v):
228228 for _ in sgns :
229229 ang = self ._precomp ["ang" ][:, ind_ang ]
230230 ang_radial = np .expand_dims (ang [ang_idx ], axis = 1 ) * radial [r_idx ]
231- idx = ind + np .arange (0 , k_max , dtype = np . int )
231+ idx = ind + np .arange (0 , k_max , dtype = int )
232232 x [mask ] += ang_radial @ v [idx ]
233233 ind += len (idx )
234234 ind_ang += 1
0 commit comments