Skip to content

Commit 6b14f84

Browse files
committed
typ: Improve argument type for volumeutils.int_scinter_ftype
1 parent efb3294 commit 6b14f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/volumeutils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ def working_type(
969969

970970

971971
def int_scinter_ftype(
972-
ifmt: type[np.integer],
972+
ifmt: np.dtype[np.integer] | type[np.integer],
973973
slope: npt.ArrayLike = 1.0,
974974
inter: npt.ArrayLike = 0.0,
975975
default: type[np.floating] = np.float32,

0 commit comments

Comments
 (0)