AdaptiveTimeSteppingEbos: avoid use of sstream

This commit is contained in:
Arne Morten Kvarving committed 2023-01-02 15:23:34 +01:00
1 parent f00ebc8b1c
commit 527280ab28
1 file changed
+2 -1
@@ -702,7 +702,8 @@ namespace Opm {
}
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
assert(growthFactor_ >= 1.0);