Fixed bug.
Database was not updated with auxiliary variables.
(cherry picked from commit a64be8ff96
)
time-shift
parent
84c24fc9e9
commit
33873da95d
|
@ -23,14 +23,16 @@ function [dbase, info] = checkdatabase(dbase, DynareModel, inversionflag, simula
|
||||||
% You should have received a copy of the GNU General Public License
|
% You should have received a copy of the GNU General Public License
|
||||||
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
% if DynareModel.maximum_endo_lead
|
||||||
|
% error('The model (%s) is assumed to be backward!', DynareModel.fname)
|
||||||
|
% end
|
||||||
|
|
||||||
if nargin<3
|
if nargin<3
|
||||||
inversionflag = false;
|
inversionflag = false;
|
||||||
end
|
end
|
||||||
|
|
||||||
set_auxiliary_series = [DynareModel.fname '.dynamic_set_auxiliary_series'];
|
if exist(sprintf('+%s/dynamic_set_auxiliary_series', DynareModel.fname), 'file')
|
||||||
|
dbase = feval(sprintf('%s.dynamic_set_auxiliary_series', DynareModel.fname), dbase, DynareModel.params);
|
||||||
if exist(['+' DynareModel.fname filesep() 'dynamic_set_auxiliary_series'])
|
|
||||||
dbase = feval(set_auxiliary_series, dbase, DynareModel.params);
|
|
||||||
end
|
end
|
||||||
|
|
||||||
listoflaggedexogenousvariables = {};
|
listoflaggedexogenousvariables = {};
|
||||||
|
|
Loading…
Reference in New Issue