Skip to content
Snippets Groups Projects
Commit a64be8ff authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug.

Database was not updated with auxiliary variables.
parent dc251f53
Branches
Tags
No related merge requests found
......@@ -23,18 +23,16 @@ function [dbase, info] = checkdatabase(dbase, DynareModel, inversionflag, simula
% You should have received a copy of the GNU General Public License
% 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 DynareModel.maximum_endo_lead
% error('The model (%s) is assumed to be backward!', DynareModel.fname)
% end
if nargin<3
inversionflag = false;
end
set_auxiliary_series = [DynareModel.fname '.dynamic_set_auxiliary_series'];
if exist([set_auxiliary_series '.m'])
dbase = feval(set_auxiliary_series, dbase, DynareModel.params);
if exist(sprintf('+%s/dynamic_set_auxiliary_series', DynareModel.fname), 'file')
dbase = feval(sprintf('%s.dynamic_set_auxiliary_series', DynareModel.fname), dbase, DynareModel.params);
end
listoflaggedexogenousvariables = {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment