Skip to content
Snippets Groups Projects
Commit d049c0b9 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

DSMH: filter out case where number of particles is too small

parent 3290f3ab
No related branches found
No related tags found
No related merge requests found
......@@ -506,6 +506,9 @@ if init
end
end
if posterior_sampler_options.particles<posterior_sampler_options.N*posterior_sampler_options.G
error('check_posterior_sampler_options:: DSMH requires particles to be at least than N*G = %u ',posterior_sampler_options.N*posterior_sampler_options.G);
end
options_.mode_compute = 0;
options_.cova_compute = 0;
options_.mh_replic = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment