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 Oct 20, 2023
1 parent 0d4b9a4 commit a875052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbitinfo/xbitinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def get_cdf_without_artificial_information(
# Normalize CDF values for elements up to 'infbits'.
cdf_array[i] = cdf_array[i] / cdf_array[infbits]

cdf_array[(infbits + 1):] = 1
cdf_array[(infbits + 1) :] = 1
return cdf


Expand Down

0 comments on commit a875052

Please sign in to comment.