Skip to content

Commit

Permalink
Don't use numpy.Inf
Browse files Browse the repository at this point in the history
Inf was removed in numpy 2; use inf instead
  • Loading branch information
benmwebb committed Sep 18, 2024
1 parent 5ce362c commit be1406d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/em/test/test_bayesem3d_logsumexp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def add_logabssumprodexp(a, b):
s = - np.Inf
s = - np.inf
ss = -1
for i in range(len(a)):
s, ss = IMP.em.bayesem3d_get_logabssumprodexp(s, a[i], ss, b[i])
Expand Down

0 comments on commit be1406d

Please sign in to comment.