From a5383fdf6502e6ea5e9203b7d7b6293530d1a4da Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Tue, 24 Oct 2023 12:53:00 +0200 Subject: [PATCH] execute_prior_posterior_function.m: correct warning message --- matlab/execute_prior_posterior_function.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/execute_prior_posterior_function.m b/matlab/execute_prior_posterior_function.m index 4967370e5..520f02c21 100644 --- a/matlab/execute_prior_posterior_function.m +++ b/matlab/execute_prior_posterior_function.m @@ -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