Skip to content

Commit fbbd801

Browse files
committed
FIX: Simplify
1 parent 86b0597 commit fbbd801

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nibabel/quaternions.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929

3030
import numpy as np
3131

32-
from .casting import sctypes
33-
34-
MAX_FLOAT = sctypes['float'][-1]
32+
MAX_FLOAT = np.finfo(float).max
3533
FLOAT_EPS = np.finfo(float).eps
3634

3735

0 commit comments

Comments
 (0)