Skip to content

Commit

Permalink
Merge branch 'set_default_as_mergesort' of github.com:AxFoundation/st…
Browse files Browse the repository at this point in the history
…rax into set_default_as_mergesort
  • Loading branch information
yuema137 committed Nov 13, 2024
2 parents 13cc0d7 + b0fb1ce commit 5a3beab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions strax/processing/hitlets.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ def highest_density_region_width(
Returns:
np.ndarray: Array of shape (len(fractions_desired), 2) containing left and right edges
"""
res = np.zeros((len(fractions_desired), 2), dtype=np.float32)
data = np.maximum(data, 0)
Expand Down

0 comments on commit 5a3beab

Please sign in to comment.