def test_optimized_W(cls): tolerance = 1e-100 vals, W = eigh(cls.model.S_b, cls.model.S_w) cls.assert_same(cls.model.W, W, tolerance=tolerance)