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-bf33cf982152issue#70
parent
c822ce1ef0
commit
39afe5b0b2
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue