Commit 597d30d0 authored by Marco Ratto's avatar Marco Ratto
Browse files

bug fix in call to priordens;

parent 92e4e737
......@@ -202,7 +202,7 @@ if ~loadSA,
clear stock_filter;
end
for j=1:nruns,
lnprior(j,1) = priordens(x(j,:)',bayestopt_.pshape,bayestopt_.p1,bayestopt_.p2,bayestopt_.p3,bayestopt_.p4);
lnprior(j,1) = priordens(x(j,:)',bayestopt_.pshape,bayestopt_.p6,bayestopt_.p7,bayestopt_.p3,bayestopt_.p4);
end
likelihood=logpo2(:)-lnprior(:);
disp('... done!')
......
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