Skip to content

Commit 26fad7e

Browse files
Apply remarks
1 parent fb153a6 commit 26fad7e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

dpnp/scipy/linalg/dpnp_iface_scipy_linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def lu_solve(lu_and_piv, b, trans=0, overwrite_b=False, check_finite=True):
177177
>>> A = np.array([[2, 5, 8, 7], [5, 2, 2, 8], [7, 5, 6, 6], [5, 4, 4, 8]])
178178
>>> b = np.array([1, 1, 1, 1])
179179
>>> lu, piv = np.scipy.linalg.lu_factor(A)
180-
>>> x = np.linalg.scipy.lu_solve((lu, piv), b)
180+
>>> x = np.scipy.linalg.lu_solve((lu, piv), b)
181181
>>> np.allclose(A @ x - b, np.zeros((4,)))
182182
array(True)
183183

dpnp/tests/third_party/cupyx/scipy_tests/special_tests/test_erf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ def check_unary(self, name, xp, scp, dtype):
7272
import scipy.special
7373

7474
a = testing.shaped_arange((2, 3), xp, dtype)
75-
# _scp = getattr(scp, "scipy", scp)
76-
# return getattr(_scp.special, name)(a)
7775
return getattr(scp.special, name)(a)
7876

7977
@testing.for_dtypes(["f", "d"])

0 commit comments

Comments
 (0)