Modify error message.

This commit is contained in:
Atgeirr Flø Rasmussen 2013-10-07 12:57:51 +02:00
parent d4bb9c0611
commit 88011cca2e

View File

@ -617,7 +617,7 @@ namespace Opm
State& state) State& state)
{ {
if (props.numPhases() != 3) { if (props.numPhases() != 3) {
OPM_THROW(std::runtime_error, "initBlackoilSurfvol() can for now only be used with 3 phases."); OPM_THROW(std::runtime_error, "initBlackoilSurfvol() is only supported in three-phase simulations.");
} }
const std::vector<double>& rs = state.gasoilratio(); const std::vector<double>& rs = state.gasoilratio();