Skip to content

Commit

Permalink
Update xbitinfo/xbitinfo.py
Browse files Browse the repository at this point in the history
Co-authored-by: Hauke Schulz <[email protected]>
  • Loading branch information
Ishaanj18 and observingClouds authored Oct 20, 2023
1 parent 2bfde26 commit 0d4b9a4
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 0d4b9a4

Please sign in to comment.