def resample_W_given_A_and_z(self, N, Zsum):
        """
        Resample the weights given A and z.
        :return:
        """
        kappa_post = self.network.kappa + Zsum
        v_post  = self.network.V + N[:,None] * self.A

        self.W = np.array(np.random.gamma(kappa_post, v_post/1.0)).reshape((self.K, self.K))
dataset/ETHPy150Open slinderman/pyhawkes/pyhawkes/internals/weights.py/SpikeAndSlabContinuousTimeGammaWeights.resample_W_given_A_and_z/swapped operands of `/`