Bugfix: check for null ptr before use.

This commit is contained in:
Atgeirr Flø Rasmussen 2013-03-15 15:02:42 +01:00
parent 3a063e22d9
commit 63c7380d04

View File

@ -340,7 +340,7 @@ namespace Opm
param.getDefault("nl_maxiter", 30)));
} else {
if (rock_comp_props->isActive()) {
if (rock_comp_props && rock_comp_props->isActive()) {
THROW("The implicit pressure solver cannot handle rock compressibility.");
}
if (use_segregation_split_) {