mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
#3185 Use std::array instead of FixedArray
This commit is contained in:
1 parent
371969db3c
commit
aeae19c748
8 files changed
+51
-46
No files matched your search
@@ -154,7 +154,7 @@ void RigGridBase::initSubCellsMainGridCellIndex()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigGridBase::cellCornerVertices(size_t cellIndex, cvf::Vec3d vertices[8]) const
|
||||
{
|
||||
const caf::SizeTArray8& indices = cell(cellIndex).cornerIndices();
|
||||
const std::array<size_t, 8>& indices = cell(cellIndex).cornerIndices();
|
||||
|
||||
vertices[0].set(m_mainGrid->nodes()[indices[0]]);
|
||||
vertices[1].set(m_mainGrid->nodes()[indices[1]]);
|
||||
|
||||
Reference in new issue
Block a user