Commit 7fe00201 authored by Emile Contal's avatar Emile Contal

fix bug when plot=false

parent bfe6ecb7
......@@ -62,8 +62,7 @@ f = @(X) Fs(X) + opt.noise * randn(size(X,1), 1);
Yt = f(1:opt.nt);
if opt.posterior
plot(Xt, Yt, 'r+');
hold on
if opt.plot; plot(Xt, Yt, 'r+'); hold on; end
if opt.verbose; fprintf('Bayesian inferance...\n'); end
Ktt = Kss(1:opt.nt,1:opt.nt);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment