Skip to content

Commit

Permalink
Remove unnecessary indent
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx committed Nov 14, 2024
1 parent 48d4e93 commit 248a2a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions strax/processing/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,9 @@ def highest_density_region(data, fractions_desired, only_upper_part=False, _buff

# Process intervals with numba
fi, res = _process_intervals_numba(ind, gaps, fi, res, 0, _buffer_size)
if fi == len(fractions_desired):
return res, res_amp

if fi == len(fractions_desired):
return res, res_amp

# Handle remaining fractions (in numba)
res[fi:, 0, 0] = 0
Expand Down

0 comments on commit 248a2a8

Please sign in to comment.