Skip to content
Snippets Groups Projects
Commit 3261747d authored by Peter Lünenschloß's avatar Peter Lünenschloß
Browse files

fixed a subtl bug in _reduceCPCluster

parent ff087501
No related branches found
No related tags found
3 merge requests!193Release 1.4,!188Release 1.4,!138WIP: Detect and reset offset
Pipeline #9485 passed with stage
in 9 minutes and 9 seconds
......@@ -424,7 +424,7 @@ def _reduceCPCluster(stat_arr, thresh_arr, start, end, obj_func, num_val):
s, e = start[win_i], end[win_i]
x = stat_arr[s:e]
y = thresh_arr[s:e]
pos = s + obj_func(x, y)
pos = s + obj_func(x, y) + 1
out_arr[pos] = True
return out_arr
......
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