OPM / opm-grid

DUNE module supporting grids in a corner-point format
http://www.opm-project.org
GNU General Public License v3.0
19 stars 78 forks source link

From static member to a local static #770

Closed aritorto closed 1 month ago

aritorto commented 1 month ago

Only instantiate in_father_reference_elem_corner_indices if geometryInfather() is called. Declare the variable (local) static extends its lifetime beyond geometryInFather(). This is needed since the returned value of geometryInFather() points at in_father_reference_elem_corner_indices.

Not relevant for the Reference Manual.

aritorto commented 1 month ago

jenkins build this please

aritorto commented 1 month ago

jenkins build this please

aritorto commented 1 month ago

Typo is fixed!

aritorto commented 1 month ago

jenkins build this please