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
time-shift
Johannes Pfeifer 2014-09-25 09:02:02 +02:00
parent 009f5f7efc
commit 127b7b0221
1 changed files with 2 additions and 0 deletions

View File

@ -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;