Drop (almost empty) initvalf.m wrapper

kalman-mex
Sébastien Villemot 2023-10-11 15:24:08 -04:00
parent f94e7ae9a6
commit a241aa2bd7
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
3 changed files with 5 additions and 36 deletions

View File

@ -1,17 +1,17 @@
function [series, p] = histvalf_initvalf(caller, DynareModel, options)
% Handles options for histvalf() and initvalf()
% Handles options for histval_file and initval_file
%
% INPUTS
% - caller [char] row array, name of calling function
% - DynareModel [struct] model description, a.k.a M_
% - options [struct] options specific to initivalf
% - options [struct] options specific to histval_file and initval_file
%
% OUTPUTS
% - series [dseries] selected data from a file or a dseries
% - p [integer] number of periods (excluding the initial and terminal conditions)
% Copyright © 2003-2022 Dynare Team
% Copyright © 2003-2023 Dynare Team
%
% This file is part of Dynare.
%
@ -254,4 +254,4 @@ else
p = (last_obs-DynareModel.orig_maximum_lead)-(first_obs+DynareModel.orig_maximum_lag)+1;
end
series = series(first_obs:last_obs);
series = series(first_obs:last_obs);

View File

@ -1,31 +0,0 @@
function [series, p] = initvalf(DynareModel, options)
% Handles options for histvalf() and initvalf()
%
% INPUTS
% - caller [char] row array, name of calling function
% - DynareModel [struct] model description, a.k.a M_
% - options [struct] options specific to initivalf
%
% OUTPUTS
% - series [dseries] selected data from a file or a dseries
% - p [integer] number of periods (excluding the initial and terminal conditions)
% Copyright © 2003-2022 Dynare Team
%
% This file is part of Dynare.
%
% Dynare is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% Dynare is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <https://www.gnu.org/licenses/>.
[series, p] = histvalf_initvalf('INITVALF', DynareModel, options);

@ -1 +1 @@
Subproject commit 3c20b9862b87e894b00c70b10e7f5a425ba0372a
Subproject commit 613a8578eea1a7c729223dedeebf44cdafe1cabf