diff --git a/opm/core/pressure/IncompTpfaSinglePhase.cpp b/opm/core/pressure/IncompTpfaSinglePhase.cpp index a8aebb166..b39778c6b 100644 --- a/opm/core/pressure/IncompTpfaSinglePhase.cpp +++ b/opm/core/pressure/IncompTpfaSinglePhase.cpp @@ -58,7 +58,7 @@ namespace Opm wells_(wells), htrans_(grid.cell_facepos[ grid.number_of_cells ]), trans_ (grid.number_of_faces), - zeros_(grid.number_of_faces) + zeros_(grid.cell_facepos[ grid.number_of_cells ]) { computeStaticData(); }