Skip to content
Snippets Groups Projects
Commit a5ab2d0d authored by Marco Ratto's avatar Marco Ratto
Browse files

fixed bug related to clear priordens;

parent 330b4137
Branches
No related tags found
No related merge requests found
......@@ -134,10 +134,7 @@ if isempty(load_data)
load_data = 1;
end
pshape_original = bayestopt_.pshape;
bayestopt_.pshape = Inf(size(bayestopt_.pshape));
clear('priordens')%
llik = -DsgeLikelihood(parameters,gend,data,data_index,number_of_observations,no_more_missing_observations);
ldens = evaluate_prior(parameters);
llik = llik - ldens;
bayestopt_.pshape = pshape_original;
\ No newline at end of file
......@@ -61,5 +61,5 @@ if ischar(parameters)
error
end
end
clear('priordens');
ldens = priordens(parameters, bayestopt_.pshape, bayestopt_.p6, bayestopt_.p7, bayestopt_.p3, bayestopt_.p4);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment