

def test_02_complex(self):
    ab = array([[0.0, 0.0, 2.0, 2.0], [(- 99), (- 1j), (- 1j), (- 1j)], [4.0, 4.0, 4.0, 4.0]])
    b = array([[(2 - 1j), (2 + 4j)], [(4.0 - 1j), ((- 1) - 1j)], [(4.0 + 1j), (4 + 2j)], [(2 + 1j), 1j]])
    x = solveh_banded(ab, b)
    expected = array([[0.0, 1j], [1.0, 0.0], [1.0, 1.0], [0.0, 0.0]])
    assert_array_almost_equal(b, expected)

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestSolveHBanded.test_02_complex/VarMisuse@163/175 `x`->`b`