diff --git a/src/ModelEquationBlock.cc b/src/ModelEquationBlock.cc index 6e3adece89d60fc86aa42d0f919c712e2994ffcb..720b37ba2c03a7d75e228f0cbae1cd8dde02fa7d 100644 --- a/src/ModelEquationBlock.cc +++ b/src/ModelEquationBlock.cc @@ -448,7 +448,7 @@ Epilogue::writeDynamicEpilogueFile(const string & basename) const output << ", "; output << "'" << symbol_table.getName(*it1) << "'"; } - output << "}) + " << max_lag << " + 1;" << endl + output << "}) + " << max_lag << ";" << endl << "if ~ds.exist('" << symbol_table.getName(symb_id) << "')" << endl << " ds = [ds dseries(NaN(ds.nobs,1), ds.firstdate, '" << symbol_table.getName(symb_id)<< "')];" << endl << "end" << endl