Fix: add missing parameter to fmt::format() call.

This commit is contained in:
Atgeirr Flø Rasmussen 2023-04-25 14:49:28 +02:00
parent 7311618f13
commit 86259ff52e

View File

@ -504,7 +504,7 @@ void Opm::readDeck(Opm::Parallel::Communication comm,
if (parsingStrictness != "high" && parsingStrictness != "normal" && parsingStrictness != "low") {
OPM_THROW(std::runtime_error,
fmt::format("Incorrect value {} for parameter ParsingStrictness, must be 'high', 'normal', or 'low'"));
fmt::format("Incorrect value {} for parameter ParsingStrictness, must be 'high', 'normal', or 'low'", parsingStrictness));
}
if (comm.rank() == 0) { // Always true when !HAVE_MPI