Fix bug in ArradDimChecker message

This commit is contained in:
Joakim Hove
2020-10-02 10:03:45 +02:00
parent 0ab50fbc95
commit b3050cfbf5
@@ -142,8 +142,8 @@ namespace {
if (location) {
std::string fmt_message = fmt::format("Problem with keyword {{keyword}}\n"
"In {{file}} line {{line}}\n"
"The case has a maximum group size of {0} wells, the WELLDIMS keyword specifies {1}\n."
"Please increase item 4 in WELLDIMS to at least {0}", size, wdims.maxGroupsInField());
"The case has a maximum group size of {0} wells, the WELLDIMS keyword specifies {1}.\n"
"Please increase item 4 in WELLDIMS to at least {0}", size, wdims.maxWellsPerGroup());
ctxt.handleError(Opm::ParseContext::RUNSPEC_GROUPSIZE_TOO_LARGE,
fmt_message, *location, guard);