diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m index a9378bc493b4c07b7ffa07d61786fcdbfadfdd6a..8cab9c4725745e382eb702bebf1fd75176d6dd46 100644 --- a/matlab/dynare_estimation_init.m +++ b/matlab/dynare_estimation_init.m @@ -120,7 +120,7 @@ if ~isempty(estim_params_) [xparam1,estim_params_,bayestopt_,lb,ub,M_] = set_prior(estim_params_,M_,options_); if any(bayestopt_.pshape > 0) % Plot prior densities. - if options_.plot_priors + if ~options_.nograph && options_.plot_priors plot_priors(bayestopt_,M_,estim_params_,options_) end % Set prior bounds