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 1b3d12e commit d6f09e6Copy full SHA for d6f09e6
unittest/python/test_user_type.py
@@ -45,8 +45,8 @@ def test(dtype):
45
assert np.isclose(mat2.astype(np.double), mat2_ref).all()
46
47
vec = np.ones((rows,), dtype=dtype)
48
- norm = np.norm(vec)
49
- norm_ref = np.norm(vec.astype(np.double))
+ norm = np.linalg.norm(vec)
+ norm_ref = np.linalg.norm(vec.astype(np.double))
50
assert norm == norm_ref
51
52
0 commit comments