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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user