Skip to content

Commit

Permalink
ISI_CV: return None when None
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaquier Aurélien Tristan committed Mar 18, 2024
1 parent 034a377 commit 171f25c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions efel/pyfeatures/isi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])


Expand Down

0 comments on commit 171f25c

Please sign in to comment.