solve a bug whith binning

This commit is contained in:
Noe Brucy
2025-03-21 14:12:49 +01:00
parent b4658825ab
commit 55d09c691c

View File

@@ -565,8 +565,8 @@ class Galsec(GalsecAnalysis):
if binning_mode == "delta":
delta = bins[name]
elif binning_mode == "number":
bin_min = filter_bounds[name][0].value
bin_max = filter_bounds[name][1].value
bin_min = filter_bounds[name][0]
bin_max = filter_bounds[name][1]
delta = (bin_max - bin_min) / bins[name]
if delta is not None: