Closed mgorny closed 1 year ago
Replace the deprecated np.bool type with bool. According to the documentation, the former "has been an alias of the builtin" "for a long time". Using these aliases has been deprecated in NumPy 1.20, and they were removed entirely in 1.24.
np.bool
bool
See: https://numpy.org/doc/stable/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated https://numpy.org/doc/stable/release/1.24.0-notes.html#expired-deprecations
Thanks!
Replace the deprecated
np.bool
type withbool
. According to the documentation, the former "has been an alias of the builtin" "for a long time". Using these aliases has been deprecated in NumPy 1.20, and they were removed entirely in 1.24.See: https://numpy.org/doc/stable/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated https://numpy.org/doc/stable/release/1.24.0-notes.html#expired-deprecations