

def test_nils_20Feb04(self):
    n = 2
    A = (random([n, n]) + (random([n, n]) * 1j))
    X = zeros((n, n), 'D')
    Ainv = inv(A)
    R = (identity(n) + (identity(n) * 0j))
    for i in arange(0, n):
        r = R[:, i]
        X[:, i] = solve(A, r)
    assert_array_almost_equal(X, R)

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestSolve.test_nils_20Feb04/VarMisuse@118/133 `Ainv`->`R`