luispedro / mahotas

Computer Vision in Python
https://mahotas.rtfd.io
Other
844 stars 148 forks source link

FutureWarning for numpy issubdtype in internal.py #95

Closed darrentyson closed 6 years ago

darrentyson commented 6 years ago

Get this warning when running...

FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.

Offending code is line 112 of internal.py if not np.issubdtype(A.dtype, np.float):