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 2454bc5 commit 89ecc90Copy full SHA for 89ecc90
array_api_strict/linalg.py
@@ -297,9 +297,10 @@ def slogdet(x: Array, /) -> SlogdetResult:
297
# To workaround this, the below is the code from np.linalg.solve except
298
# only calling solve1 in the exactly 1D case.
299
def _solve(a, b):
300
- from numpy.linalg.linalg import (_makearray, _assert_stacked_2d,
301
- _assert_stacked_square, _commonType,
302
- isComplexType, _raise_linalgerror_singular)
+ from numpy.linalg._linalg import (
+ _makearray, _assert_stacked_2d, _assert_stacked_square,
+ _commonType, isComplexType, _raise_linalgerror_singular
303
+ )
304
from numpy.linalg import _umath_linalg
305
306
a, _ = _makearray(a)
0 commit comments