

def setUp(self):
    top = set_as_top(Assembly())
    ls = LinearSystem(3)
    top.add('ls', ls)
    top.driver.workflow.add('ls')
    self.top = self
    top.ls.A = np.array([[3, 2, (- 1)], [2, (- 2), 4], [(- 1), 0.5, (- 1)]], dtype='float')
    top.ls.b = np.array([1.0, (- 2.0), 0.0], dtype='float')

dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/components/test/test_linear_system.py LinearSystemTestCase.setUp/VarMisuse@50/60 `top`->`self`