yumorishita / LiCSBAS2

GNU General Public License v3.0
26 stars 4 forks source link

`np.bool` is a deprecated alias for the builtin `bool` #15

Closed yumorishita closed 1 year ago

yumorishita commented 1 year ago
LiCSBAS04op_mask_unw.py:175: DeprecationWarning: `n
p.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.
yumorishita commented 1 year ago
np.bool8(0)
/tmp/ipykernel_25053/2062240054.py:1: DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`.  (Deprecated NumPy 1.24)
  np.bool8(0)