Commit d86daa01 authored by MichelJuillard's avatar MichelJuillard
Browse files

fixing bug in recent commit 919c2f8f

parent 119a8eee
......@@ -170,7 +170,7 @@ end
% Compute minus the log-likelihood.
if presample > diffuse_periods
LIK = sum(likk(1+presample-diffuse_periods:end);
LIK = sum(likk(1+presample-diffuse_periods:end));
else
LIK = sum(likk);
end
\ No newline at end of file
......@@ -111,4 +111,4 @@ end
dlik = dlik(1:s);
dlik = .5*(dlik + pp*log(2*pi));
dLIK = sum(dlik(1+presample:end);
dLIK = sum(dlik(1+presample:end));
Supports Markdown
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