Skip to content

Commit

Permalink
Merge tag 'check_digs' into develop
Browse files Browse the repository at this point in the history
v0.4.2
  • Loading branch information
milcent committed May 1, 2021
2 parents 6c47413 + 98d9d14 commit 9e35377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benford/benford.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ def first_digits(self, digs, confidence=None, high_Z='pos',
# Check on the possible values for confidence levels
confidence = _check_confidence_(confidence)
# Check on possible digits
_check_test_(digs)
_check_digs_(digs)

temp = self.loc[self.ZN >= 10 ** (digs - 1)]
temp[digs_dict[digs]] = (temp.ZN // 10 ** ((log10(temp.ZN).astype(
Expand Down

0 comments on commit 9e35377

Please sign in to comment.