mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-24 22:57:42 -05:00
Modify error message.
This commit is contained in:
1 parent
d4bb9c0611
commit
88011cca2e
1 file changed
+1
-1
@@ -617,7 +617,7 @@ namespace Opm
|
||||
State& state)
|
||||
{
|
||||
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();
|
||||
|
||||
Reference in new issue
Block a user