AdaptiveTimeSteppingEbos: avoid use of sstream

This commit is contained in:
Arne Morten Kvarving 2023-01-02 15:21:42 +01:00
parent f00ebc8b1c
commit 527280ab28

View File

@ -702,7 +702,8 @@ namespace Opm {
} }
else else
OPM_THROW(std::runtime_error,"Unsupported time step control selected "<< control); OPM_THROW(std::runtime_error,
"Unsupported time step control selected " + control);
// make sure growth factor is something reasonable // make sure growth factor is something reasonable
assert(growthFactor_ >= 1.0); assert(growthFactor_ >= 1.0);