remove unused return variable

time-shift
Houtan Bastani 2019-04-25 17:33:57 +02:00
parent 0b9b69f638
commit fd61c049f9
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
3 changed files with 6 additions and 7 deletions

View File

@ -11,7 +11,7 @@ function [z, steady_state] = plot_shock_decomposition(M_,oo_,options_,varlist)
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2016-2018 Dynare Team
% Copyright (C) 2016-2019 Dynare Team
%
% This file is part of Dynare.
%
@ -36,7 +36,7 @@ if isempty(varlist)
varlist = M_.endo_names(1:M_.orig_endo_nbr);
end
[i_var, nvar, index_uniques] = varlist_indices(varlist, M_.endo_names);
[i_var, ~, index_uniques] = varlist_indices(varlist, M_.endo_names);
varlist = varlist(index_uniques);
% number of variables

View File

@ -22,7 +22,7 @@ function oo_ = realtime_shock_decomposition(M_,oo_,options_,varlist,bayestopt_,e
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2009-2018 Dynare Team
% Copyright (C) 2009-2019 Dynare Team
%
% This file is part of Dynare.
%
@ -44,7 +44,7 @@ if isempty(varlist)
varlist = M_.endo_names(1:M_.orig_endo_nbr);
end
[i_var, nvar, index_uniques] = varlist_indices(varlist,M_.endo_names);
[~, ~, index_uniques] = varlist_indices(varlist,M_.endo_names);
varlist = varlist(index_uniques);
% number of variables
@ -120,7 +120,6 @@ if fast_realtime
end
options_.nobs=nobs;
[oo2,M_,~,~,Smoothed_Variables_deviation_from_mean2] = evaluate_smoother(parameter_set,varlist,M_,oo_,options_,bayestopt_,estim_params_);
gend2 = size(oo2.SmoothedShocks.(M_.exo_names{1}),1);
prctdone=1;
if isoctave
printf([running_text,' %3.f%% done\r'], prctdone*100);

View File

@ -23,7 +23,7 @@ function [oo_,M_] = shock_decomposition(M_,oo_,options_,varlist,bayestopt_,estim
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2009-2018 Dynare Team
% Copyright (C) 2009-2019 Dynare Team
%
% This file is part of Dynare.
%
@ -45,7 +45,7 @@ if isempty(varlist)
varlist = M_.endo_names(1:M_.orig_endo_nbr);
end
[i_var,nvar,index_uniques] = varlist_indices(varlist, M_.endo_names);
[~, ~,index_uniques] = varlist_indices(varlist, M_.endo_names);
varlist = varlist(index_uniques);
% number of variables