Skip to content

Commit

Permalink
Check if fft_filter test passes with complex128
Browse files Browse the repository at this point in the history
  • Loading branch information
daurer committed Dec 13, 2024
1 parent 40dbf12 commit c20dfb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/accelerate_tests/base_tests/array_utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def test_crop_pad_3(self):
np.testing.assert_array_almost_equal(A, exp_A)

def test_fft_filter(self):
data = np.zeros((256, 512), dtype=COMPLEX_TYPE)
data = np.zeros((256, 512), dtype=np.complex128)
data[64:-64,128:-128] = 1 + 1.j

prefactor = np.zeros_like(data)
Expand Down Expand Up @@ -343,7 +343,7 @@ def test_fft_filter(self):
np.testing.assert_array_almost_equal(output.flat[::2000], known_test_output)

def test_fft_filter_batched(self):
data = np.zeros((2,256, 512), dtype=COMPLEX_TYPE)
data = np.zeros((2,256, 512), dtype=np.complex128)
data[:,64:-64,128:-128] = 1 + 1.j

prefactor = np.zeros_like(data)
Expand Down

0 comments on commit c20dfb6

Please sign in to comment.