LIKK needs to be initialized when analytic derivation =0.

time-shift
Marco Ratto 2012-06-08 17:06:59 +02:00
parent dca2ffc5f3
commit bf88b6e93d
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ asy_hess=0;
if analytic_derivation == 0,
DLIK=[];
Hess=[];
LIKK=[];
else
k = size(DT,3); % number of structural parameters
DLIK = zeros(k,1); % Initialization of the score.