We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fb3cd0 commit 140ff3bCopy full SHA for 140ff3b
unittest/python/test_user_type.py
@@ -9,7 +9,7 @@
9
10
def test(dtype):
11
rng = np.random.default_rng()
12
- mat = np.array(np.ones((rows, cols)), dtype=dtype)
+ mat = np.ones((rows, cols), dtype=dtype)
13
mat = rng.random((rows, cols)).astype(dtype)
14
mat_copy = mat.copy()
15
assert (mat == mat_copy).all()
0 commit comments