Rename ys0_ into oo_.initial_steady_state and ex0_ into oo_.initial_exo_steady_state
parent
6235e69075
commit
9b50a8a159
|
@ -824,13 +824,13 @@ ModFile::writeMOutput(const string &basename, bool clear_all, bool clear_global,
|
|||
<< " clear_persistent_variables(fileparts(which('dynare')), false)" << endl
|
||||
<< "end" << endl;
|
||||
else if (clear_global)
|
||||
mOutputFile << "clear M_ options_ oo_ estim_params_ bayestopt_ dataset_ dataset_info estimation_info ys0_ ex0_;" << endl;
|
||||
mOutputFile << "clear M_ options_ oo_ estim_params_ bayestopt_ dataset_ dataset_info estimation_info;" << endl;
|
||||
|
||||
if (!notime)
|
||||
mOutputFile << "tic0 = tic;" << endl;
|
||||
|
||||
mOutputFile << "% Define global variables." << endl
|
||||
<< "global M_ options_ oo_ estim_params_ bayestopt_ dataset_ dataset_info estimation_info ys0_ ex0_" << endl
|
||||
<< "global M_ options_ oo_ estim_params_ bayestopt_ dataset_ dataset_info estimation_info" << endl
|
||||
<< "options_ = [];" << endl
|
||||
<< "M_.fname = '" << basename << "';" << endl
|
||||
<< "M_.dynare_version = '" << PACKAGE_VERSION << "';" << endl
|
||||
|
|
|
@ -284,8 +284,8 @@ EndValStatement::writeOutput(ostream &output, [[maybe_unused]] const string &bas
|
|||
<< "% ENDVAL instructions" << endl
|
||||
<< "%" << endl;
|
||||
// Writing endval block to set terminal values for variables
|
||||
output << "ys0_= oo_.steady_state;" << endl
|
||||
<< "ex0_ = oo_.exo_steady_state;" << endl;
|
||||
output << "oo_.initial_steady_state = oo_.steady_state;" << endl
|
||||
<< "oo_.initial_exo_steady_state = oo_.exo_steady_state;" << endl;
|
||||
|
||||
writeInitValues(output);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue