From b0ea237ae38feaa03de1bfab79fa36d4b0e05914 Mon Sep 17 00:00:00 2001 From: michel Date: Sun, 8 Feb 2009 16:53:40 +0000 Subject: [PATCH] another correction linked to cova_compute git-svn-id: https://www.dynare.org/svn/dynare/trunk@2408 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/dynare_estimation_1.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m index 31762e9a7..2f4eabed5 100644 --- a/matlab/dynare_estimation_1.m +++ b/matlab/dynare_estimation_1.m @@ -524,6 +524,8 @@ if options_.mode_compute > 0 & options_.posterior_mode_estimation else hh = reshape(hessian('DsgeVarLikelihood',xparam1,options_.gstep,gend),nx,nx); end + else + nn = repmat(NaN,length(xparam1),length(xparam1)) end end if options_.cova_compute