Skip to content

Commit

Permalink
Fix: update Fourier shift test to accommodate 'ij' indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
wheelerMT committed Mar 23, 2024
1 parent 59bd604 commit 853adf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/shared/test_grids.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ def test_correct_fourier_shift_2d():

grid2d = grid.Grid((64, 64), (0.5, 0.5))

for element in grid2d.fourier_x_mesh[:, 0]:
for element in grid2d.fourier_x_mesh[0, :]:
assert element == 0
for element in grid2d.fourier_y_mesh[0, :]:
for element in grid2d.fourier_y_mesh[:, 0]:
assert element == 0


Expand Down

0 comments on commit 853adf1

Please sign in to comment.