Skip to content

Commit

Permalink
Merge pull request #373 from AurelienJaquier/fix-isi-cv
Browse files Browse the repository at this point in the history
ISI_CV: return None when None
  • Loading branch information
AurelienJaquier authored Mar 18, 2024
2 parents 034a377 + 171f25c commit 8bd317f
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 8bd317f

Please sign in to comment.