Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions dpnp/tests/test_fft.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,8 @@ def setup_method(self):
@pytest.mark.parametrize("norm", [None, "forward", "backward", "ortho"])
@pytest.mark.parametrize("order", ["C", "F"])
def test_fft2(self, dtype, axes, norm, order):
a_np = generate_random_numpy_array((2, 3, 4), dtype)
x = generate_random_numpy_array((2, 3, 4), dtype)
a_np = numpy.array(x, order=order)
a = dpnp.array(a_np)

result = dpnp.fft.fft2(a, axes=axes, norm=norm)
Expand Down Expand Up @@ -442,7 +443,8 @@ def setup_method(self):
@pytest.mark.parametrize("norm", [None, "backward", "forward", "ortho"])
@pytest.mark.parametrize("order", ["C", "F"])
def test_fftn(self, dtype, axes, norm, order):
a_np = generate_random_numpy_array((2, 3, 4, 5), dtype)
x = generate_random_numpy_array((2, 3, 4, 5), dtype)
a_np = numpy.array(x, order=order)
a = dpnp.array(a_np)

result = dpnp.fft.fftn(a, axes=axes, norm=norm)
Expand Down
Loading