Skip to content

Commit

Permalink
Fix #4731 (#4837)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishy7777 authored Dec 16, 2024
1 parent 7f686ca commit 80b28c8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package/MDAnalysis/lib/distances.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,10 +401,9 @@ def self_distance_array(
for i in range(n):
for j in range(i + 1, n):
dist[i, j] = dist[j, i] = d[k]
k += 1
dist[i, j] = d[k]
.. versionchanged:: 0.13.0
Added *backend* keyword.
.. versionchanged:: 0.19.0
Expand Down

0 comments on commit 80b28c8

Please sign in to comment.