Closed musicinmybrain closed 1 year ago
The np.bool type was just an alias for Python bool, and was removed in numpy 1.20.
Fixes #39; fixes compatibility with numpy 1.20 and later, without breaking compatibility with other versions.
https://numpy.org/devdocs/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated
@musicinmybrain please close your PR, this will be solved also in my PR https://github.com/manuel-calzolari/sklearn-genetic/pull/41 with other stuff
Closing at @detrin’s request.
The np.bool type was just an alias for Python bool, and was removed in numpy 1.20.
Fixes #39; fixes compatibility with numpy 1.20 and later, without breaking compatibility with other versions.
https://numpy.org/devdocs/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated