With NumPy 1.20 the attributes np.float and np.bool have been deprecated (https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations). This commit replaces the two remaining occurances following NumPy recommendatations: np.float -> float and np.bool -> bool.
With NumPy 1.20 the attributes np.float and np.bool have been deprecated (https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations). This commit replaces the two remaining occurances following NumPy recommendatations: np.float -> float and np.bool -> bool.