mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-09 23:53:04 -06:00
#2328 Fix crash when calculating "Water Flooded PV"
This commit is contained in:
parent
d3f1767ff9
commit
a6333128e3
@ -236,7 +236,7 @@ void RigNumberOfFloodedPoreVolumesCalculator::calculate(RigMainGrid* mainGrid,
|
|||||||
|
|
||||||
const std::vector<double>* flowrateNNC = flowrateNNCatAllTimeSteps[timeStep-1];
|
const std::vector<double>* flowrateNNC = flowrateNNCatAllTimeSteps[timeStep-1];
|
||||||
|
|
||||||
if (flowrateNNC->size() > 0)
|
if (flowrateNNC && flowrateNNC->size() > 0)
|
||||||
{
|
{
|
||||||
distributeNNCflow(connections,
|
distributeNNCflow(connections,
|
||||||
caseToApply,
|
caseToApply,
|
||||||
|
Loading…
Reference in New Issue
Block a user