Skip to content

Commit 4cdba01

Browse files
author
Mathieu Scheltienne
committed
try with sized aliases again and np.longdouble instead of np.float128
1 parent 3639711 commit 4cdba01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/casting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CastingError(Exception):
2727
sctypes = {
2828
'int': [np.int8, np.int16, np.int32, np.int64],
2929
'uint': [np.uint8, np.uint16, np.uint32, np.uint64],
30-
'float': [np.float16, np.float32, np.float64, np.float128],
30+
'float': [np.float16, np.float32, np.float64, np.longdouble],
3131
'complex': [np.complex64, np.complex128, np.complex256],
3232
'others': [bool, object, bytes, str, np.void],
3333
}

0 commit comments

Comments
 (0)