Streamline informative messages

master
Sébastien Villemot 2022-10-07 17:34:19 +02:00
parent 3dd40c6c42
commit e0b2583ff9
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 7 deletions

View File

@ -56,7 +56,7 @@ ModFile::ModFile(WarningConsolidation &warnings_arg)
void
ModFile::evalAllExpressions(bool warn_uninit)
{
cout << "Evaluating expressions...";
cout << "Evaluating expressions..." << endl;
// Loop over all statements, and fill global eval context if relevant
for (auto &st : statements)
@ -74,8 +74,6 @@ ModFile::evalAllExpressions(bool warn_uninit)
// Evaluate model local variables
dynamic_model.fillEvalContext(global_eval_context);
cout << "done" << endl;
// Check if some symbols are not initialized, and give them a zero value then
for (int id = 0; id <= symbol_table.maxID(); id++)
if (auto type = symbol_table.getType(id);
@ -879,8 +877,6 @@ ModFile::writeMOutput(const string &basename, bool clear_all, bool clear_global,
if (param_used_with_lead_lag)
mOutputFile << "M_.parameter_used_with_lead_lag = true;" << endl;
cout << "Processing outputs ..." << endl;
symbol_table.writeOutput(mOutputFile);
// Fill the fields related to solve_algo={12,14} if possible.
@ -1089,8 +1085,6 @@ ModFile::writeMOutput(const string &basename, bool clear_all, bool clear_global,
pac_model_table.writeTargetCoefficientsFile(basename);
}
cout << "done" << endl;
}
void