Skip to content

Commit

Permalink
Update parastell/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Wilson <[email protected]>
  • Loading branch information
connoramoreno and gonuke authored Oct 8, 2024
1 parent b1713bf commit eda0183
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions parastell/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ def enforce_helical_symmetry(matrix):
Returns:
matrix (2-D iterable of float): helically symmetric matrix.
"""
num_rows = matrix.shape[0]
num_columns = matrix.shape[1]
num_rows, num_columns = matrix.shape

# Ensure rows represent closed loops
for idx in range(num_rows):
Expand Down

0 comments on commit eda0183

Please sign in to comment.