Commit 39afe5b0 authored by sebastien's avatar sebastien
Browse files

trunk:

* removed obsolete global variables "endval_" and "rplottype_"
* removed duplicate initialization of options_.replic


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2295 ac1d8469-bf42-47a9-8791-bf33cf982152
parent c822ce1e
......@@ -153,8 +153,7 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const
if (clear_all)
mOutputFile << "clear all" << endl;
mOutputFile << "tic;" << endl;
mOutputFile << "global M_ oo_" << endl;
mOutputFile << "global options_ endval_" << endl;
mOutputFile << "global M_ oo_ options_" << endl;
mOutputFile << "global ys0_ ex0_ ct_" << endl;
mOutputFile << "options_ = [];" << endl;
mOutputFile << "M_.fname = '" << basename << "';" << endl;
......
......@@ -83,8 +83,7 @@ InitValStatement::writeOutput(ostream &output, const string &basename) const
<< "% INITVAL instructions" << endl
<< "%" << endl;
// Writing initval block to set initial values for variables
output << "options_.initval_file = 0;" << endl
<< "endval_=0;" << endl;
output << "options_.initval_file = 0;" << endl;
writeInitValues(output);
......@@ -113,8 +112,7 @@ EndValStatement::writeOutput(ostream &output, const string &basename) const
<< "%" << endl;
// Writing endval block to set terminal values for variables
output << "ys0_= oo_.steady_state;" << endl
<< "ex0_ = oo_.exo_steady_state;" << endl
<< "endval_ = 1;" << endl;
<< "ex0_ = oo_.exo_steady_state;" << endl;
writeInitValues(output);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment