mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3185 Use std::array instead of FixedArray
This commit is contained in:
@@ -597,10 +597,10 @@ void RigMainGrid::buildCellSearchTree()
|
||||
|
||||
for (size_t cIdx = 0; cIdx < cellCount; ++cIdx)
|
||||
{
|
||||
const caf::SizeTArray8& cellIndices = m_cells[cIdx].cornerIndices();
|
||||
|
||||
if (m_cells[cIdx].isInvalid()) continue;
|
||||
|
||||
const std::array<size_t, 8>& cellIndices = m_cells[cIdx].cornerIndices();
|
||||
|
||||
cvf::BoundingBox& cellBB = cellBoundingBoxes[cIdx];
|
||||
cellBB.add(m_nodes[cellIndices[0]]);
|
||||
cellBB.add(m_nodes[cellIndices[1]]);
|
||||
|
||||
Reference in New Issue
Block a user