Closed SquirrelKnight closed 1 year ago
Sorry for the delay on this. I changed DTYPE_BOOL=np.bool
in constants.pyx
to DTYPE_BOOL=np.bool_
, and it should work with the latest version of NumPy now. This update is included in the v0.2.3b4: https://github.com/malcolmw/pykonal/releases/tag/0.2.3b4.
Closing this issue now, but please feel free to re-open if the problem persists or any downstream bugs emerge.
In newer versions of numpy, np.bool is removed and bool is accepted. I would recommend either adding a specific version of numpy to the installation instructions, or changing constants.pyx so that DTYPE_BOOL = bool
The latest versions of numpy also accept float64, uint32, etc. without needing to prepend np.