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 Mar 28, 2024
1 parent e786a6f commit 386a60f
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 @@ -384,6 +384,7 @@ def load_bitinformation(label):
else:
raise FileNotFoundError(f"No bitinformation could be found at {label+'.json'}")


def get_cdf_without_artificial_information(
info_per_bit, bitdim, threshold, tolerance, bit_vars
):
Expand Down Expand Up @@ -605,7 +606,6 @@ def get_keepbits(info_per_bit, inflevel=0.99, information_filter=None, **kwargs)
return keepmantissabits



def _cdf_from_info_per_bit(info_per_bit, bitdim):
"""Convert info_per_bit to cumulative distribution function on dimension bitdim."""
# set below rounding error from last digit to zero
Expand Down

0 comments on commit 386a60f

Please sign in to comment.