Merge branch 'analytic_gradient' of git.dynare.org:JohannesPfeifer/dynare

time-shift
Sébastien Villemot 2021-01-26 16:23:35 +01:00
commit 145c851707
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 5 additions and 1 deletions

View File

@ -140,7 +140,11 @@ SteadyState = [];
trend_coeff = [];
exit_flag = 1;
info = zeros(4,1);
DLIK = [];
if DynareOptions.analytic_derivation
DLIK = NaN(1,length(xparam1));
else
DLIK = [];
end
Hess = [];
% Ensure that xparam1 is a column vector.