Skip to content
Snippets Groups Projects
Commit 0eb994bd authored by Matteo Cicuttin's avatar Matteo Cicuttin
Browse files

Fixed misleading message.

parent 7b32ef9a
No related branches found
No related tags found
No related merge requests found
......@@ -596,8 +596,11 @@ parameter_loader::postpro_fieldExportMode(const std::string& field) const
if (silo_mode == "zonal")
return field_export_mode::ZONAL;
std::cout << "[CONFIG] warning: invalid export mode '" << silo_mode;
std::cout << "'" << std::endl;
if (silo_mode != "none")
{
std::cout << "[CONFIG] warning: invalid export mode '" << silo_mode;
std::cout << "'" << std::endl;
}
return field_export_mode::NONE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment