From 127b7b0221d97775a26d8fe5c3e4ab30c6be4c1a Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Thu, 25 Sep 2014 09:02:02 +0200 Subject: [PATCH] Add check for NaN parameters to initial_estimation_checks.m Provides important info to debug cryptic crashes in later routines. Mostly applies to cases where people run estimation without stoch_simul --- matlab/initial_estimation_checks.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matlab/initial_estimation_checks.m b/matlab/initial_estimation_checks.m index c4cbf5ab9..ea8fd96eb 100644 --- a/matlab/initial_estimation_checks.m +++ b/matlab/initial_estimation_checks.m @@ -69,6 +69,8 @@ if any(BayesInfo.pshape) % if Bayesian estimation end end +%% display warning if some parameters are still NaN +test_for_deep_parameters_calibration(Model); % Evaluate the likelihood. ana_deriv = DynareOptions.analytic_derivation;