Skip to content

Commit

Permalink
Comment: Segfault on Windows: Numpy to Array4
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Mar 25, 2022
1 parent 407db32 commit 59bfb65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_array4.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 59bfb65

Please sign in to comment.