Skip to content

Commit

Permalink
Fix one more instance of using deprecated scipy romberg (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy authored Dec 22, 2023
1 parent eafbd89 commit 0b8569b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions galpy/df/diskdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2733,9 +2733,9 @@ def bovy_dblquad(func, a, b, gfun, hfun, args=(), tol=1.48e-08):
Notes
-----
- 2010-03-11 - Written - Bpvy (NYU)
- 2010-03-11 - Written - Bovy (NYU)
"""
return integrate.romberg(
return quadpack.romberg(
_oned_intFunc, a, b, args=(func, gfun, hfun, tol, args), tol=tol
)

Expand Down

0 comments on commit 0b8569b

Please sign in to comment.