Skip to content

Commit 5632181

Browse files
author
Vahid Tavanashad
committed
update generate_random_numpy_array
1 parent 0b3bf33 commit 5632181

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dpnp/tests/test_linalg.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2988,11 +2988,7 @@ def test_pinv(self, dtype, shape):
29882988
"shape", [(2, 2), (16, 16)], ids=["(2, 2)", "(16, 16)"]
29892989
)
29902990
def test_pinv_hermitian(self, dtype, shape):
2991-
# Set seed_value=70 to prevent
2992-
# random generation of the input singular matrix
2993-
a = generate_random_numpy_array(
2994-
shape, dtype, hermitian=True, seed_value=70, low=-2, high=2
2995-
)
2991+
a = generate_random_numpy_array(shape, dtype, hermitian=True)
29962992
a_dp = dpnp.array(a)
29972993

29982994
B = numpy.linalg.pinv(a, hermitian=True)

0 commit comments

Comments
 (0)