A Python module that provides a unified interface to access mock galaxy catalogs and more for the LSST DESC
BSD 3-Clause "New" or "Revised" License
26
stars
20
forks
source link
Use builtin types in place of numpy aliases #613
Closed
yymao closed 1 year ago
This PR fixes #612.
This PR replaces numpy builtin type aliases (e.g.
np.bool
) with builtin types (e.g.bool
), because the former has been deprecated since numpy 1.20. See "Using the aliases of builtin types like np.int is deprecated" for detail.