skypyproject / skypy

SkyPy: A package for modelling the Universe.
BSD 3-Clause "New" or "Revised" License
118 stars 38 forks source link

MAINT: numpy.trapz is deprecated; use scipy.integrate.trapezoid #623

Closed rrjbca closed 2 months ago

rrjbca commented 2 months ago

Description

numpy.trapz is deprecated; use scipy.integrate.trapezoid instead. Note that in numpy 2.0 the alias numpy.trapezoid was added, but to maintain backwards compatibility with numpy 1.x we follow the suggestion of using the scipy method instead.

Checklist