Skip to content

Commit

Permalink
refactor: use builtin python type
Browse files Browse the repository at this point in the history
`np.float` is removed
  • Loading branch information
sbrugman committed May 25, 2023
1 parent 4a53e85 commit d687d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/popmon/stats/test_numpy.py
Expand Up @@ -228,7 +228,7 @@ def test_probability_distribution_mean_covariance():
else:
# If a covariance matrix is singular we fall back on using variances
chi_squared = np.sum(
(norm_mean - single_norm) ** 2 / (variance + np.finfo(np.float).eps)
(norm_mean - single_norm) ** 2 / (variance + np.finfo(float).eps)
)

n_bins = len(bin_entries[i])
Expand Down

0 comments on commit d687d10

Please sign in to comment.