LiveOilPvt: remove use of sstream
This commit is contained in:
parent
38f58a2beb
commit
43901d33f0
@ -34,8 +34,6 @@
|
||||
#include <opm/material/common/UniformXTabulated2DFunction.hpp>
|
||||
#include <opm/material/common/Tabulated1DFunction.hpp>
|
||||
|
||||
#include <sstream>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
#if HAVE_ECL_INPUT
|
||||
@ -406,12 +404,12 @@ public:
|
||||
return pSat;
|
||||
}
|
||||
|
||||
std::stringstream errlog;
|
||||
errlog << "Finding saturation pressure did not converge:"
|
||||
<< " pSat = " << pSat
|
||||
<< ", Rs = " << Rs;
|
||||
OpmLog::debug("Live oil saturation pressure", errlog.str());
|
||||
throw NumericalProblem(errlog.str());
|
||||
const std::string msg =
|
||||
"Finding saturation pressure did not converge: "
|
||||
" pSat = " + std::to_string(getValue(pSat)) +
|
||||
", Rs = " + std::to_string(getValue(Rs));
|
||||
OpmLog::debug("Live oil saturation pressure", msg);
|
||||
throw NumericalProblem(msg);
|
||||
}
|
||||
|
||||
template <class Evaluation>
|
||||
|
Loading…
Reference in New Issue
Block a user