Skip to content

Commit

Permalink
Scipy deprecation in halos/profiles/ia.py (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinfan1996 authored Jun 26, 2024
1 parent 68ee11e commit 132cfc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
- pyfftw # for velocileptors
- pip:
#- classy<3
- isitgr
- isitgr<=1.0.2
- velocileptors @ git+https://github.com/sfschen/velocileptors
- baccoemu @ git+https://bitbucket.org/rangulo/baccoemu.git@master
- MiraTitanHMFemulator
2 changes: 1 addition & 1 deletion pyccl/halos/profiles/ia.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def _usat_fourier(self, cosmo, k, M, a):
from scipy.integrate import simpson
for i, M_i in enumerate(M_use):
prof[i, :] += (simpson(integrand[:, i, :],
r_use[i, :]).T
x=r_use[i, :]).T
* (1j**l).real * (2*l+1)
* self._angular_fl[j])
elif self.integration_method == 'spline':
Expand Down

0 comments on commit 132cfc1

Please sign in to comment.