-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use more complete list of _integer_types for convert (#7392)
These were removed in d1712b5 with the thought that using explicit dtypes with the bit size in their name would be enough to cover all cases. Turns out that NumPy's dtype system is a bit more complex than that and for NumPy <2.0 there are cases where dtype.type is np.ulonglong (see test). So let's be cautious and add back all the "aliases". Fixes [1] [1] https://www.github.com/scikit-image/scikit-image/issues/7385
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters