mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix for null pointer
This commit is contained in:
parent
b53e21a61d
commit
f6510210b0
@ -313,7 +313,7 @@ void RigMainGrid::calculateFaults()
|
||||
|
||||
// Distribute nnc's to the faults
|
||||
|
||||
const std::vector<RigConnection>& nncs = m_nncData->connections();
|
||||
const std::vector<RigConnection>& nncs = this->nncData()->connections();
|
||||
for (size_t nncIdx = 0; nncIdx < nncs.size(); ++nncIdx)
|
||||
{
|
||||
// Find the fault for each side of the nnc
|
||||
|
Loading…
Reference in New Issue
Block a user