def test_post_update_soVB(self, rho=0.375):
    distrA = copy.deepcopy(self.distr)
    distrB = WishartDistr(distrA.v, invW=np.eye(distrA.D) )        
    self.distr.post_update_soVB(rho, distrB)
    assert self.distr.v == rho*distrA.v + (1-rho)*distrB.v
    assert np.allclose(self.distr.invW, rho*distrA.invW + (rho-1)*distrB.invW)
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/tests/distr/TestWishartDistr.py/TestWishart.test_post_update_soVB/swapped operands of `-`