mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-02 05:49:09 -06:00
StandardWellPrimaryVariables: use {fmt} to format error messages
This commit is contained in:
parent
4c3d933835
commit
59e5642678
@ -696,7 +696,9 @@ checkFinite(DeferredLogger& deferred_logger) const
|
||||
{
|
||||
for (const Scalar v : value_) {
|
||||
if (!isfinite(v))
|
||||
OPM_DEFLOG_THROW(NumericalProblem, "Infinite primary variable after update from wellState well: " << well_.name(), deferred_logger);
|
||||
OPM_DEFLOG_THROW(NumericalProblem,
|
||||
"Infinite primary variable after update from wellState, well: " + well_.name(),
|
||||
deferred_logger);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user