Skip to content
Snippets Groups Projects
Commit f6a330b2 authored by sebastien's avatar sebastien
Browse files

trunk preprocessor: removed obsolete global variables

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2272 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 35cc9ac1
No related branches found
No related tags found
No related merge requests found
...@@ -153,9 +153,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const ...@@ -153,9 +153,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const
if (clear_all) if (clear_all)
mOutputFile << "clear all" << endl; mOutputFile << "clear all" << endl;
mOutputFile << "tic;" << endl; mOutputFile << "tic;" << endl;
mOutputFile << "global M_ oo_ exedet_ exdet_ recur_ recurs_ " << endl; mOutputFile << "global M_ oo_" << endl;
mOutputFile << "global options_ endval_" << endl; mOutputFile << "global options_ endval_" << endl;
mOutputFile << "global ys0_ recurs0_ ex0_ ct_" << endl; mOutputFile << "global ys0_ ex0_ ct_" << endl;
mOutputFile << "options_ = [];" << endl; mOutputFile << "options_ = [];" << endl;
mOutputFile << "M_.fname = '" << basename << "';" << endl; mOutputFile << "M_.fname = '" << basename << "';" << endl;
mOutputFile << "%" << endl; mOutputFile << "%" << endl;
......
...@@ -114,7 +114,6 @@ EndValStatement::writeOutput(ostream &output, const string &basename) const ...@@ -114,7 +114,6 @@ EndValStatement::writeOutput(ostream &output, const string &basename) const
// Writing endval block to set terminal values for variables // Writing endval block to set terminal values for variables
output << "ys0_= oo_.steady_state;" << endl output << "ys0_= oo_.steady_state;" << endl
<< "ex0_ = oo_.exo_steady_state;" << endl << "ex0_ = oo_.exo_steady_state;" << endl
<< "recurs0_ = recurs_;" << endl
<< "endval_ = 1;" << endl; << "endval_ = 1;" << endl;
writeInitValues(output); writeInitValues(output);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment