Skip to content

Commit

Permalink
Suppress DeprecationWarning from scipy
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinfan1996 committed May 9, 2024
1 parent 7723eb3 commit 97f016a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/explore_miscentering_theory.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@
"def Sigma_stack_mis_simps(R_arr, Rmis, Rinfty_scale=10, ngrid=100):\n",
" Roff_tab = np.linspace(0.,Rmis*Rinfty_scale,ngrid)\n",
" tab = integrand_stack_tab(Roff_tab, R_arr, Rmis)\n",
" return integrate.simpson(tab, Roff_tab, axis=0)"
" return integrate.simpson(y=tab, x=Roff_tab, axis=0)"
]
},
{
Expand Down

0 comments on commit 97f016a

Please sign in to comment.