blob: a42a2b388bb520946304f14319d0059d87634ebb (
plain)
1
2
3
4
5
6
7
|
``np.can_cast(np.uint64, np.timedelta64, casting='safe')`` is now ``False``
---------------------------------------------------------------------------
Previously this was ``True`` - however, this was inconsistent with ``uint64``
not being safely castable to ``int64``, and resulting in strange type
resolution.
If this impacts your code, cast ``uint64`` to ``int64`` first.
|