Merge branch 'prior_function' into 'master'

execute_prior_posterior_function.m: correct warning message

See merge request Dynare/dynare!2201
kalman-mex
Sébastien Villemot 2023-10-25 15:44:21 +00:00
commit 4701dfd158
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ elseif strcmpi(type,'prior')
end
end
if exist([M_.fname '_prior_restrictions.m'])
warning('prior_function currently does not support endogenous prior restrictions. They will be ignored. Consider using a prior_function with nobs=1.')
warning('prior_function currently does not support endogenous prior restrictions. They will be ignored. Consider using a posterior_function with nobs=1.')
end
Prior = dprior(bayestopt_, options_.prior_trunc);
else