Small fixes.

This commit is contained in:
Arno Solin 2013-11-13 18:14:11 +00:00
parent a25844ac71
commit 15a8a270d4

View file

@ -196,7 +196,7 @@ class StateSpace(Model):
Y = self.posterior_samples_f(X,size)
# Add noise
Y += np.sqrt(self.sigma2)*np.random.randn(Y.shape)
Y += np.sqrt(self.sigma2)*np.random.randn(Y.shape[0],Y.shape[1])
# Return trajectory
return Y