From 853adf1a925eb32defa65971c3a4df8761f0bcec Mon Sep 17 00:00:00 2001 From: Matt Wheeler Date: Sat, 23 Mar 2024 18:56:07 +0000 Subject: [PATCH] Fix: update Fourier shift test to accommodate 'ij' indexing --- tests/shared/test_grids.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/shared/test_grids.py b/tests/shared/test_grids.py index fb89bf8..3e7b9af 100644 --- a/tests/shared/test_grids.py +++ b/tests/shared/test_grids.py @@ -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