mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Bugfix: check for null ptr before use.
This commit is contained in:
parent
3a063e22d9
commit
63c7380d04
@ -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_) {
|
||||
|
Loading…
Reference in New Issue
Block a user