diff --git a/matlab/non_linear_dsge_likelihood.m b/matlab/non_linear_dsge_likelihood.m index ae99feafced899dfffde153f9ce3177f9266f445..dadbd07f837893cb4ec344232b6e3946c6a1966a 100644 --- a/matlab/non_linear_dsge_likelihood.m +++ b/matlab/non_linear_dsge_likelihood.m @@ -145,7 +145,7 @@ trend_coeff = []; cost_flag = 1; % Set the number of observed variables -nvobs = DynareDataset.info.vobs; +nvobs = DynareDataset.info.nvobs; %------------------------------------------------------------------------------ % 1. Get the structural parameters & define penalties