Skip to content
Snippets Groups Projects
Commit d701fa5c authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'sub_draws' into '6.x'

:bug: fix number of sub_draws used

See merge request !2321
parents 373346b0 388d2186
Branches
Tags
1 merge request!2321:bug: fix number of sub_draws used
Pipeline #10943 failed
......@@ -68,7 +68,7 @@ if init
mh_nblck = options_.mh_nblck;
% set sub_draws option if empty
if isempty(options_.sub_draws)
options_.sub_draws = min(options_.posterior_max_subsample_draws, ceil(.25*NumberOfDraws));
options_.sub_draws = min(options_.posterior_max_subsample_draws, ceil(NumberOfDraws*mh_nblck));
else
if options_.sub_draws>NumberOfDraws*mh_nblck
skipline()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment