Skip to content

Commit

Permalink
assert stop >= start
Browse files Browse the repository at this point in the history
  • Loading branch information
relleums committed Mar 5, 2024
1 parent 38ab2bc commit 7dbacf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions binning_utils/power.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def query_ball(bin_edges, start, stop, power_slope):
"""
num_bins = len(bin_edges) - 1
assert num_bins >= 1
assert stop >= start

bins = []
weights = []
Expand Down
2 changes: 1 addition & 1 deletion binning_utils/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.15"
__version__ = "0.0.16"

0 comments on commit 7dbacf1

Please sign in to comment.