Bug fix (wrong number of output arguments when calling evaluate_smoother).

time-shift
Stéphane Adjemian (Charybdis) 2017-03-17 15:09:05 +01:00
parent 0adb065b7e
commit 510bbe200e
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ for j=presample+1:nobs,
% evalin('base',['options_.nobs=' int2str(j) ';'])
options_.nobs=j;
clear('evaluate_smoother');
[oo,junk1,junk2,Smoothed_Variables_deviation_from_mean] = evaluate_smoother(parameter_set,varlist,M_,oo_,options_,bayestopt_,estim_params_);
[oo, junk1, junk2, junk3, Smoothed_Variables_deviation_from_mean] = evaluate_smoother(parameter_set,varlist,M_,oo_,options_,bayestopt_,estim_params_);
% reduced form
dr = oo.dr;
@ -139,7 +139,7 @@ for j=presample+1:nobs,
epsilon=[epsilon zeros(nshocks,forecast_)];
z = zeros(endo_nbr,nshocks+2,gend+forecast_);
Smoothed_Variables_deviation_from_mean
z(:,end,1:gend) = Smoothed_Variables_deviation_from_mean;
maximum_lag = M_.maximum_lag;