Skip to content

Commit

Permalink
try with sized aliases again and np.longdouble instead of np.float128
Browse files Browse the repository at this point in the history
  • Loading branch information
mscheltienne committed Aug 29, 2023
1 parent 3639711 commit 4cdba01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nibabel/casting.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class CastingError(Exception):
sctypes = {
'int': [np.int8, np.int16, np.int32, np.int64],
'uint': [np.uint8, np.uint16, np.uint32, np.uint64],
'float': [np.float16, np.float32, np.float64, np.float128],
'float': [np.float16, np.float32, np.float64, np.longdouble],
'complex': [np.complex64, np.complex128, np.complex256],
'others': [bool, object, bytes, str, np.void],
}
Expand Down

0 comments on commit 4cdba01

Please sign in to comment.