fix for tie print

This commit is contained in:
Zhenwen Dai 2014-09-22 10:10:08 +01:00
parent c279da4c75
commit f0df591625
3 changed files with 6 additions and 6 deletions

View file

@ -74,7 +74,7 @@ class SSGPLVM(SparseGP_MPI):
# self.X.variance.constrain_positive()
if self.group_spike:
[self.X.gamma[:,i].tie('tieGamma'+str(i)) for i in xrange(self.X.gamma.shape[1])] # Tie columns together
[self.X.gamma[:,i].tie_together() for i in xrange(self.X.gamma.shape[1])] # Tie columns together
def set_X_gradients(self, X, X_grad):
"""Set the gradients of the posterior distribution of X in its specific form."""