Commit f51406bd authored by Yue Wang's avatar Yue Wang Committed by Timo Koch
Browse files

[fix]remove warning in constructor

parent 688fc288
......@@ -53,7 +53,6 @@ class FaceCenteredStaggeredLocalIntersectionIndexMapper<GridView, false>
using Element = typename GridView::template Codim<0>::Entity;
static constexpr auto numElementFaces = GridView::Grid::dimension * 2;
public:
void update(const GridView& gv, const Element& element)
{
static const bool makeConsistentlyOriented = getParam<bool>("Grid.MakeConsistentlyOriented", true);
......@@ -85,8 +84,8 @@ public:
{ return refToRealMap_[localIsIdx]; }
private:
std::array<SmallLocalIndexType, numElementFaces> realToRefMap_;
std::array<SmallLocalIndexType, numElementFaces> refToRealMap_;
std::array<SmallLocalIndexType, numElementFaces> realToRefMap_ = {};
std::array<SmallLocalIndexType, numElementFaces> refToRealMap_ = {};
};
/*!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment