diff --git a/efel/pyfeatures/isi.py b/efel/pyfeatures/isi.py index f90f0b42..e5ce5f5e 100644 --- a/efel/pyfeatures/isi.py +++ b/efel/pyfeatures/isi.py @@ -58,6 +58,8 @@ def ISI_CV() -> np.ndarray | None: isi_values = isi_values[1:] result = __ISI_CV(isi_values) + if result is None: + return None return np.array([result])