diff --git a/src/ComputingTasks.cc b/src/ComputingTasks.cc index 90964908c47c1b7b532fe79dbdbc2d308a4f8fc8..32ec79e0f3c581b0c8056019086247dc4fde5915 100644 --- a/src/ComputingTasks.cc +++ b/src/ComputingTasks.cc @@ -2014,7 +2014,7 @@ void OsrParamsStatement::checkPass(ModFileStructure& mod_file_struct, WarningConsolidation& warnings) { if (mod_file_struct.osr_params_present) - cerr << "WARNING: You have more than one osr_params statement in the .mod file." << endl; + warnings << "WARNING: You have more than one osr_params statement in the .mod file." << endl; mod_file_struct.osr_params_present = true; try