Commit a1ad48f8 authored by Lukas Riedel's avatar Lukas Riedel

Improve formatting in FlowParameters

parent 9945877f
......@@ -238,7 +238,7 @@ private:
const
{
const auto param_file_name = _config.get<std::string>("parameters.file");
_log->info("Loading parameter data file '{}'", param_file_name);
_log->info("Loading parameter data file: {}", param_file_name);
YAML::Node param_file = YAML::LoadFile(param_file_name);
// mapping: index on grid to parameterization object (will be returned)
......@@ -257,7 +257,8 @@ private:
const auto type = param_info["type"].as<std::string>();
const auto index = param_info["index"].as<int>();
if (param_index_set.count(index) != 0) {
_log->error("Index {} of parameterization {} already exists.",
_log->error("Index '{}' of parameterization '{}'"
"already exists.",
index, name);
DUNE_THROW(IOError, "Parameter file indices must be unique");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment