diff --git a/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh b/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh
index b9969e58190abe0996ba2ee210d8277b7e4e2e81..f29ba01a9175f47102a3947d0e002118d1ae1439 100644
--- a/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh
+++ b/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh
@@ -251,11 +251,11 @@ private:
         scvs_.resize(numScvs);
         scvfs_.reserve(numScvf);
         scvfIndicesOfScv_.resize(numScvs);
-        hasBoundaryScvf_.resize(numScvs, false);
+        hasBoundaryScvf_.assign(numScvs, false);
 
         // Some methods require to use a second type of interaction volume, e.g.
         // around vertices on the boundary or branching points (surface grids)
-        secondaryInteractionVolumeVertices_.resize(numVert, false);
+        secondaryInteractionVolumeVertices_.assign(numVert, false);
 
         // find vertices on processor boundaries
         const auto isGhostVertex = MpfaHelper::findGhostVertices(this->gridView(), this->vertexMapper());
@@ -639,7 +639,7 @@ private:
         // Some methods require to use a second type of interaction volume, e.g.
         // around vertices on the boundary or branching points (surface grids)
         const auto numVert = this->gridView().size(dim);
-        secondaryInteractionVolumeVertices_.resize(numVert, false);
+        secondaryInteractionVolumeVertices_.assign(numVert, false);
 
         // find vertices on processor boundaries HERE!!
         isGhostVertex_ = MpfaHelper::findGhostVertices(this->gridView(), this->vertexMapper());