Bugfix: check for null ptr before use.
This commit is contained in:
parent
e2893a5696
commit
af62639513
@ -340,7 +340,7 @@ namespace Opm
|
|||||||
param.getDefault("nl_maxiter", 30)));
|
param.getDefault("nl_maxiter", 30)));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (rock_comp_props->isActive()) {
|
if (rock_comp_props && rock_comp_props->isActive()) {
|
||||||
THROW("The implicit pressure solver cannot handle rock compressibility.");
|
THROW("The implicit pressure solver cannot handle rock compressibility.");
|
||||||
}
|
}
|
||||||
if (use_segregation_split_) {
|
if (use_segregation_split_) {
|
||||||
|
Loading…
Reference in New Issue
Block a user