Replace np.bool8
with np.bool_
for numpy 1.24
#221
Merged
np.bool8
with np.bool_
for numpy 1.24
#221