Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changed incorrect array index order when reading linked list binary data
  • Loading branch information
daminton committed Jul 19, 2022
1 parent 6cde634 commit 03ecbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ctem/ctem/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def read_linked_list_binary(filename, gridsize):
with FortranFile(filename, 'r') as f:
for i in np.arange(gridsize):
for j in np.arange(gridsize):
data[j, i] = f.read_reals(np.float64)
data[i, j] = f.read_reals(np.float64)
return data


Expand Down

0 comments on commit 03ecbb0

Please sign in to comment.