Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 11, 2025
1 parent 99a0e06 commit 5533093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alea/ces_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ def _load_true_histogram(self):
# Add padding to account for smearing effects at the edge
padded_min = self.min_e - MINIMAL_ENERGY_RESOLUTION
padded_max = self.max_e + MINIMAL_ENERGY_RESOLUTION
number_of_bins = int((self.max_e - self.min_e + 2 * MINIMAL_ENERGY_RESOLUTION) /

number_of_bins = int((self.max_e - self.min_e + 2 * MINIMAL_ENERGY_RESOLUTION) /
MINIMAL_ENERGY_RESOLUTION)
# We should NOT extend the hist beyond the analysis range
# Otherwise the input rate multiplier will be representing the rate in the extended range
Expand Down

0 comments on commit 5533093

Please sign in to comment.