var_expectation.update: Octave compatibility fix

There was a conflict between matlab/+var_expectation/update.m and
matlab/+var_expectation/+update/. So we renamed the (single) file in the latter
directory.
time-shift
Sébastien Villemot 2021-02-02 15:20:54 +01:00
parent 44a2e6463b
commit 00e36dd342
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
2 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ function update(varexpectationmodelname)
% OUTPUTS
% None
% Copyright (C) 2018 Dynare Team
% Copyright (C) 2018-2021 Dynare Team
%
% This file is part of Dynare.
%
@ -27,4 +27,4 @@ function update(varexpectationmodelname)
global M_ oo_
M_ = var_expectation.update.parameters(varexpectationmodelname, M_, oo_);
M_ = var_expectation.update_parameters(varexpectationmodelname, M_, oo_);

View File

@ -1,4 +1,4 @@
function DynareModel = parameters(varexpectationmodelname, DynareModel, DynareOutput)
function DynareModel = update_parameters(varexpectationmodelname, DynareModel, DynareOutput)
% Updates the VAR expectation reduced form parameters.
%
@ -13,7 +13,7 @@ function DynareModel = parameters(varexpectationmodelname, DynareModel, DynareOu
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2018 Dynare Team
% Copyright (C) 2018-2021 Dynare Team
%
% This file is part of Dynare.
%
@ -178,4 +178,4 @@ else
end
% Update reduced form parameters in M_.params.
DynareModel.params(varexpectationmodel.param_indices) = parameters;
DynareModel.params(varexpectationmodel.param_indices) = parameters;