diff --git a/dumux/multidomain/facet/box/couplingmapper.hh b/dumux/multidomain/facet/box/couplingmapper.hh index 5e29524f206dd323defc50a23abeee0e4899c5d0..33b2c1e601961247dc48ca609df33b047b4c2b4d 100644 --- a/dumux/multidomain/facet/box/couplingmapper.hh +++ b/dumux/multidomain/facet/box/couplingmapper.hh @@ -122,7 +122,7 @@ public: // find the bulk element facet that lies on this low dim element (assumes conformity!) bool found = false; - unsigned int coupledFacetIndex; + unsigned int coupledFacetIndex = 0; std::vector<unsigned int> handledFacets; for (const auto& is : intersections(bulkFvGridGeometry.gridView(), bulkElement)) {