Skip to content
Snippets Groups Projects
Commit c86f10e3 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

remove unused variable warning

parent 5bc33750
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ namespace Dune
for (std::size_t i = 0; i < types.size(); ++i) {
auto type = Vtk::to_geometry(types[i]);
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]);
assert(nNodes == refElem.size(Grid::dimension));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment