Fix boundary condition checking bug.

This commit is contained in:
Atgeirr Flø Rasmussen committed 2013-10-03 16:19:21 +02:00
1 parent 9170ff69fd
commit 79562ca3cc
1 file changed
+1 -1
@@ -280,7 +280,7 @@ namespace Opm
gravity, */
{
// Intercept usage of bcs, since we do not handle it.
if (bcs) {
if (bcs->nbc != 0) {
OPM_THROW(std::runtime_error, "SimulatorFullyImplicitBlackoil cannot handle boundary conditions other than no-flow. Not implemented yet.");
}
// For output.