Skip to content
Snippets Groups Projects
Verified Commit 87870eaa authored by Houtan Bastani's avatar Houtan Bastani
Browse files

Epilogue: remove +1

issue #36
parent efb2752e
No related branches found
No related tags found
No related merge requests found
...@@ -448,7 +448,7 @@ Epilogue::writeDynamicEpilogueFile(const string & basename) const ...@@ -448,7 +448,7 @@ Epilogue::writeDynamicEpilogueFile(const string & basename) const
output << ", "; output << ", ";
output << "'" << symbol_table.getName(*it1) << "'"; output << "'" << symbol_table.getName(*it1) << "'";
} }
output << "}) + " << max_lag << " + 1;" << endl output << "}) + " << max_lag << ";" << endl
<< "if ~ds.exist('" << symbol_table.getName(symb_id) << "')" << 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 << " ds = [ds dseries(NaN(ds.nobs,1), ds.firstdate, '" << symbol_table.getName(symb_id)<< "')];" << endl
<< "end" << endl << "end" << endl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment