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