EMS-TU-Ilmenau/fastmat

Numpy bool deprecation warning

Closed this issue · 1 comments

In a recent numpy version 1.20.1, a deprecation warning for the use of numpy.bool is issued:

/fastmat/bee.py:665: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool`
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

How should this be handled?

In numpy 1.24 the deprecation took place, currently rendering fastmat inoperable with this numpy version. Urgent fix is advised.