Skip to content
Snippets Groups Projects
Verified Commit 4282c985 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

New field: M_.discretionary_orig_eq_nbr

It indicates the number of equations written in the model block by the user in
the discretionary policy case.
parent cecc9aad
Branches
Tags
No related merge requests found
...@@ -900,6 +900,9 @@ ModFile::writeMOutput(const string &basename, bool clear_all, bool clear_global, ...@@ -900,6 +900,9 @@ ModFile::writeMOutput(const string &basename, bool clear_all, bool clear_global,
<< "options_.ramsey_policy = " << (mod_file_struct.ramsey_model_present || mod_file_struct.ramsey_policy_present) << ";" << endl << "options_.ramsey_policy = " << (mod_file_struct.ramsey_model_present || mod_file_struct.ramsey_policy_present) << ";" << endl
<< "options_.discretionary_policy = " << mod_file_struct.discretionary_policy_present << ";" << endl; << "options_.discretionary_policy = " << mod_file_struct.discretionary_policy_present << ";" << endl;
if (mod_file_struct.discretionary_policy_present)
mOutputFile << "M_.discretionary_orig_eq_nbr = " << original_model.equation_number() << ";" << endl;
if (parallel_local_files.size() > 0) if (parallel_local_files.size() > 0)
{ {
mOutputFile << "options_.parallel_info.local_files = {" << endl; mOutputFile << "options_.parallel_info.local_files = {" << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment