You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
I expected the operation to work in all cases.
Could on-the-fly byte swap be implemented? May be with a warning?
In this specific case, on-the-fly byte swapping is what numpy does:
r=Anp.dot(big)
r.dtype# <f8, little-endian
For the case with Abig, where the sparse array itself is in a unsupported dtype, if not on-the-fly conversion is done, maybe there could be an issue raised, or at least a warning, on creation? To signify that the input array doesn't support the full features of sparse.
System
OS and version: Ubuntu 18.04
sparse version : 0.13.0
NumPy version : 1.21.2
Numba version : 0.53.1
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
Big-endian floats (and maybe others) are not supported by numba, which leads to
TypingError
on some sparse operations.To Reproduce
The other way around is the same;
Expected behavior
I expected the operation to work in all cases.
Could on-the-fly byte swap be implemented? May be with a warning?
In this specific case, on-the-fly byte swapping is what
numpy
does:For the case with
Abig
, where the sparse array itself is in a unsupported dtype, if not on-the-fly conversion is done, maybe there could be an issue raised, or at least a warning, on creation? To signify that the input array doesn't support the full features ofsparse
.System
sparse
version : 0.13.0Additional context
The text was updated successfully, but these errors were encountered: