diff --git a/matlab/posterior_sampler_initialization.m b/matlab/posterior_sampler_initialization.m index 89b9e96d27d64adae092cf4f0698e7c2a6e84570..aaddd9b700d58b1610f41f62390c55bdf08fefd9 100644 --- a/matlab/posterior_sampler_initialization.m +++ b/matlab/posterior_sampler_initialization.m @@ -494,7 +494,7 @@ if ~options_.use_mh_covariance_matrix if isfield(record,'ProposalCovariance') && isfield(record,'ProposalScaleVec') if isfield(record,'MCMC_sampler') if ~strcmp(record.MCMC_sampler,options_.posterior_sampler_options.posterior_sampling_method) - error(fprintf('Estimation::mcmc: The posterior_sampling_method differs from the one of the original chain. Please reset it to %s',record.MCMC_sampler)) + warning('Estimation::mcmc: The posterior_sampling_method %s selected differs from the %s of the original chain. This may create problems with the convergence diagnostics.',options_.posterior_sampler_options.posterior_sampling_method,record.MCMC_sampler) end end fprintf('Estimation::mcmc: Recovering the previous proposal density.\n')