@@ -2524,11 +2524,11 @@ def test_solve_broadcast(self, a_shape, b_shape, dtype):
2524
2524
# random generation of the input singular matrix
2525
2525
b_np = generate_random_numpy_array (b_shape , dtype , seed_value = 76 )
2526
2526
2527
- a_dp = inp .array (a_np )
2528
- b_dp = inp .array (b_np )
2527
+ a_dp = dpnp .array (a_np )
2528
+ b_dp = dpnp .array (b_np )
2529
2529
2530
2530
expected = numpy .linalg .solve (a_np , b_np )
2531
- result = inp .linalg .solve (a_dp , b_dp )
2531
+ result = dpnp .linalg .solve (a_dp , b_dp )
2532
2532
2533
2533
assert_dtype_allclose (result , expected )
2534
2534
@@ -2638,8 +2638,8 @@ def test_solve_errors(self):
2638
2638
)
2639
2639
2640
2640
# b.ndim == 0
2641
- b_dp_ndim_0 = inp .array (2 )
2642
- assert_raises (ValueError , inp .linalg .solve , a_dp , b_dp_ndim_0 )
2641
+ b_dp_ndim_0 = dpnp .array (2 )
2642
+ assert_raises (ValueError , dpnp .linalg .solve , a_dp , b_dp_ndim_0 )
2643
2643
2644
2644
2645
2645
class TestSlogdet :
@@ -2754,13 +2754,13 @@ class TestSvd:
2754
2754
def get_tol (self , dtype ):
2755
2755
tol = 1e-06
2756
2756
if dtype in (dpnp .float32 , dpnp .complex64 ):
2757
- tol = 1e-04
2757
+ tol = 1e-03
2758
2758
elif not has_support_aspect64 () and dtype in (
2759
2759
dpnp .int32 ,
2760
2760
dpnp .int64 ,
2761
2761
None ,
2762
2762
):
2763
- tol = 1e-04
2763
+ tol = 1e-03
2764
2764
self ._tol = tol
2765
2765
2766
2766
def check_types_shapes (
0 commit comments