Merge pull request #1137 from JohannesPfeifer/deterministic_estimation

Reset seed before drawing starting points of MCMC chains
time-shift
Stéphane Adjemian 2016-03-22 16:48:27 +01:00
commit 692acc66a7
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ if ~options_.load_mh_file && ~options_.mh_recover
fprintf(fidlog,' \n');
% Find initial values for the nblck chains...
if nblck > 1% Case 1: multiple chains
set_dynare_seed('default');
fprintf(fidlog,[' Initial values of the parameters:\n']);
disp('Estimation::mcmc: Searching for initial values...')
ix2 = zeros(nblck,npar);