Commit c86f10e3 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

remove unused variable warning

parent 5bc33750
...@@ -47,7 +47,7 @@ namespace Dune ...@@ -47,7 +47,7 @@ namespace Dune
for (std::size_t i = 0; i < types.size(); ++i) { for (std::size_t i = 0; i < types.size(); ++i) {
auto type = Vtk::to_geometry(types[i]); auto type = Vtk::to_geometry(types[i]);
Vtk::CellType cellType{type}; Vtk::CellType cellType{type};
auto refElem = referenceElement<double,Grid::dimension>(type); [[maybe_unused]] auto refElem = referenceElement<double,Grid::dimension>(type);
int nNodes = offsets[i] - (i == 0 ? 0 : offsets[i-1]); int nNodes = offsets[i] - (i == 0 ? 0 : offsets[i-1]);
assert(nNodes == refElem.size(Grid::dimension)); assert(nNodes == refElem.size(Grid::dimension));
......
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