diff --git a/matlab/metropolis_draw.m b/matlab/metropolis_draw.m index b96a144ba..722feba95 100644 --- a/matlab/metropolis_draw.m +++ b/matlab/metropolis_draw.m @@ -74,7 +74,7 @@ if init else if options_.sub_draws>NumberOfDraws*mh_nblck skipline() - disp(['Estimation::mcmc: The value of option sub_draws (' num2str(options_.sub_draws) ') is greater than the number of available draws in the MCMC (' num2str(NumberOfDraws) ')!']) + disp(['Estimation::mcmc: The value of option sub_draws (' num2str(options_.sub_draws) ') is greater than the number of available draws in the MCMC (' num2str(NumberOfDraws*mh_nblck) ')!']) disp('Estimation::mcmc: You can either change the value of sub_draws, reduce the value of mh_drop, or run another mcmc (with the load_mh_file option).') skipline() xparams = 1; % xparams is interpreted as an error flag