Skip to content

Commit 46a29f4

Browse files
committed
Fix numba symmetrical solve reciprocal of condition number
1 parent a149f6c commit 46a29f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytensor/link/numba/dispatch/slinalg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,10 +845,10 @@ def impl(
845845
) -> np.ndarray:
846846
_solve_check_input_shapes(A, B)
847847

848-
lu, x, ipiv, info = _sysv(A, B, lower, overwrite_a, overwrite_b)
848+
C, x, ipiv, info = _sysv(A, B, lower, overwrite_a, overwrite_b)
849849
_solve_check(A.shape[-1], info)
850850

851-
rcond, info = _sycon(lu, ipiv, _xlange(A, order="I"))
851+
rcond, info = _sycon(C, ipiv, _xlange(A, order="I"))
852852
_solve_check(A.shape[-1], info, True, rcond)
853853

854854
return x

0 commit comments

Comments
 (0)