Skip to content

Commit

Permalink
rm unneeded comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mscheltienne authored Jun 14, 2024
1 parent 3e6588a commit 072a565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/10_peak_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def new_peak(self) -> float | None:
"""
ts_peaks = self.detect_peaks()
if ts_peaks.size == 0:
return None # unlikely to happen, but let's exit early if we have nothing
return None
if self._peak_candidates is None and self._peak_candidates_count is None:
self._peak_candidates = list(ts_peaks)
self._peak_candidates_count = [1] * ts_peaks.size
Expand Down

0 comments on commit 072a565

Please sign in to comment.