Skip to content

Commit

Permalink
test/custom: use more classic allocator
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Jan 9, 2025
1 parent ab9ed33 commit bf09a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittest/python/test_user_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

def test(dtype):
rng = np.random.default_rng()
mat = np.array(np.ones((rows, cols)), dtype=dtype)
mat = np.ones((rows, cols), dtype=dtype)
mat = rng.random((rows, cols)).astype(dtype)
mat_copy = mat.copy()
assert (mat == mat_copy).all()
Expand Down

0 comments on commit bf09a26

Please sign in to comment.