mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 17:10:19 -05:00
#1584 Replace cvf::vec3d[8] with std::array<cvf::vec3d, 8>
This commit is contained in:
1 parent
7b34d7f103
commit
da69eef72b
43 files changed
+150
-126
No files matched your search
@@ -79,7 +79,7 @@ int RimWellIADataAccess::elementIndex( cvf::Vec3d position )
|
||||
std::array<cvf::Vec3d, 8> coordinates;
|
||||
if ( !part->fillElementCoordinates( elmIdx, coordinates ) ) continue;
|
||||
|
||||
if ( RigHexIntersectionTools::isPointInCell( position, coordinates.data() ) ) return (int)elmIdx;
|
||||
if ( RigHexIntersectionTools::isPointInCell( position, coordinates ) ) return (int)elmIdx;
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
||||
Reference in new issue
Block a user