Do not plot the priors if option nograph is used.

(cherry picked from commit bcf7e882)

Conflicts:

	matlab/dynare_estimation_init.m
parent 9456fa10
......@@ -124,7 +124,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_,options_)
end
% Set prior bounds
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment