Skip to content
Snippets Groups Projects
Commit bd90d9c4 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent a6634048
No related branches found
No related tags found
No related merge requests found
......@@ -188,11 +188,11 @@ def value_to_index(nda, value):
def find_bin_index(nda, value):
idxs = np.arange(nda.shape[0])
above = nda >= value
above = value >= nda
if not above.any():
return -1
below = nda < value
below = value < nda
if not below.any():
return -1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment