From 59bfb6576985deab37eb26ebab9177da3b0a0633 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 24 Mar 2022 12:24:28 -0700 Subject: [PATCH] Comment: Segfault on Windows: Numpy to Array4 --- tests/test_array4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_array4.py b/tests/test_array4.py index a83467d4..08366ab0 100644 --- a/tests/test_array4.py +++ b/tests/test_array4.py @@ -28,7 +28,7 @@ def test_array4(): # assert(arr[1, 1, 1] == 42) # copy to numpy - c_arr2np = np.array(arr, copy=True) + c_arr2np = np.array(arr, copy=True) # segfaults on Windows assert(c_arr2np.ndim == 4) assert(c_arr2np.dtype == np.dtype("double")) np.testing.assert_array_equal(x, c_arr2np[:, :, :, 0])