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 9238cc2 commit fd70495Copy full SHA for fd70495
pytensor/link/numba/dispatch/linalg/decomposition/lu.py
@@ -30,7 +30,7 @@ def _lu_factor_to_lu(a, dtype, overwrite_a):
30
# Fortran is 1 indexed, so we need to subtract 1 from the IPIV array
31
IPIV = IPIV - 1
32
p_inv = _pivot_to_permutation(IPIV, dtype=dtype)
33
- perm = np.argsort(p_inv)
+ perm = np.argsort(p_inv).astype("int32")
34
35
return perm, L, U
36
0 commit comments