[mpi] fix the bug of mpi

This commit is contained in:
Zhenwen Dai 2014-05-17 22:18:00 +01:00
parent e6d07ad5ac
commit e7177b6d37
2 changed files with 31 additions and 19 deletions

View file

@ -78,7 +78,7 @@ class VarDTC_minibatch(LatentFunctionInference):
num_inducing = Z.shape[0]
num_data, output_dim = Y.shape
if self.batchsize == None or self.batchsize>num_data:
if self.batchsize == None:
self.batchsize = num_data
trYYT = self.get_trYYT(Y)