Skip to content

Commit

Permalink
Use self.u_kn when verbose=True in MBAR (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclark5 authored Aug 28, 2024
1 parent 3924b9a commit 76664b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymbar/mbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def __init__(
for k in range(K):
for l in range(k):
diffsum = 0
uzero = u_kn[k, indices] - u_kn[l, indices]
uzero = self.u_kn[k, indices] - self.u_kn[l, indices]
diffsum += np.dot(uzero, uzero)
if diffsum < relative_tolerance:
self.samestates.append([k, l])
Expand Down

0 comments on commit 76664b7

Please sign in to comment.