mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Rely on auto instead of querying the explicit type
via e.g. typename UgGridHelpers::Face2VerticesTraits<Grid>::Type
This commit is contained in:
parent
5b8442d985
commit
c1d61705c9
@ -541,10 +541,8 @@ namespace Opm
|
||||
// imposes the requirement that cell centroids are all
|
||||
// within this vertical span. That requirement is not
|
||||
// checked.
|
||||
typename UgGridHelpers::Cell2FacesTraits<Grid>::Type
|
||||
cell2Faces = UgGridHelpers::cell2Faces(G);
|
||||
typename UgGridHelpers::Face2VerticesTraits<Grid>::Type
|
||||
faceVertices = UgGridHelpers::face2Vertices(G);
|
||||
auto cell2Faces = UgGridHelpers::cell2Faces(G);
|
||||
auto faceVertices = UgGridHelpers::face2Vertices(G);
|
||||
|
||||
for (typename CellRange::const_iterator
|
||||
ci = cells.begin(), ce = cells.end();
|
||||
|
Loading…
Reference in New Issue
Block a user