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

:bug: fix number of sub_draws used

Revert of 5424fde7
parent 30a6f53f
Branches
Tags
1 merge request!2321:bug: fix number of sub_draws used
......@@ -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