diff --git a/matlab/histvalf_initvalf.m b/matlab/histvalf_initvalf.m index 4ce0da3cb..fa8351ea5 100644 --- a/matlab/histvalf_initvalf.m +++ b/matlab/histvalf_initvalf.m @@ -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); \ No newline at end of file +series = series(first_obs:last_obs); diff --git a/matlab/initvalf.m b/matlab/initvalf.m deleted file mode 100644 index c40009738..000000000 --- a/matlab/initvalf.m +++ /dev/null @@ -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 . - -[series, p] = histvalf_initvalf('INITVALF', DynareModel, options); \ No newline at end of file diff --git a/preprocessor b/preprocessor index 3c20b9862..613a8578e 160000 --- a/preprocessor +++ b/preprocessor @@ -1 +1 @@ -Subproject commit 3c20b9862b87e894b00c70b10e7f5a425ba0372a +Subproject commit 613a8578eea1a7c729223dedeebf44cdafe1cabf