Skip to content

Commit

Permalink
fix grid coordinate selection
Browse files Browse the repository at this point in the history
  • Loading branch information
gwirn committed Sep 2, 2024
1 parent f6bcd55 commit 90c5eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/generation_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def main():
# get the latent coords with the lowest errors
coords_oi = np.asarray(
[
[xaxis[i // grid_side_len], yaxis[i % grid_side_len]]
[xaxis[i % grid_side_len], yaxis[i // grid_side_len]]
for i in sort_by_err[:n_structs]
]
)
Expand Down

0 comments on commit 90c5eba

Please sign in to comment.