Merge pull request #3780 from akva2/fix_comma

fixed: erroneous comma placement
This commit is contained in:
Arne Morten Kvarving 2023-11-20 15:55:53 +01:00 committed by GitHub
commit fcb438aed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -846,7 +846,7 @@ void Schedule::iterateScheduleSection(std::size_t load_start, std::size_t load_e
auto well2 = this->snapshots[reportStep].wells.get(well_name);
if (well2.getConnections().empty() && status == Well::Status::OPEN) {
if (location) {
auto msg = fmt::format("Problem with{}\n",
auto msg = fmt::format("Problem with {}\n"
"In {} line{}\n"
"Well {} has no connections to grid and will remain SHUT", location->keyword, location->filename, location->lineno, well_name);
OpmLog::warning(msg);