Skip to content
Snippets Groups Projects
Commit d86daa01 authored by MichelJuillard's avatar MichelJuillard
Browse files

fixing bug in recent commit 919c2f8f

parent 119a8eee
No related branches found
No related tags found
No related merge requests found
...@@ -170,7 +170,7 @@ end ...@@ -170,7 +170,7 @@ end
% Compute minus the log-likelihood. % Compute minus the log-likelihood.
if presample > diffuse_periods if presample > diffuse_periods
LIK = sum(likk(1+presample-diffuse_periods:end); LIK = sum(likk(1+presample-diffuse_periods:end));
else else
LIK = sum(likk); LIK = sum(likk);
end end
\ No newline at end of file
...@@ -111,4 +111,4 @@ end ...@@ -111,4 +111,4 @@ end
dlik = dlik(1:s); dlik = dlik(1:s);
dlik = .5*(dlik + pp*log(2*pi)); dlik = .5*(dlik + pp*log(2*pi));
dLIK = sum(dlik(1+presample:end); dLIK = sum(dlik(1+presample:end));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment