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 bc1f7d3 commit fe97e5dCopy full SHA for fe97e5d
tests/link/numba/test_slinalg.py
@@ -252,7 +252,10 @@ def getrf(x):
252
253
assert info == 0
254
assert_allclose(LU, lu)
255
- assert_allclose(IPIV, ipiv)
+
256
+ # TODO: It seems IPIV is 1-indexed in FORTRAN, so we need to subtract 1. I can't find evidence that scipy is doing
257
+ # this, though.
258
+ assert_allclose(IPIV - 1, ipiv)
259
260
261
@pytest.mark.parametrize("trans", [0, 1])
0 commit comments