Commit 3c1c3691 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Fix compiler warning

parent 7b94b7e5
Pipeline #49477 passed with stage
in 5 minutes and 12 seconds
......@@ -120,7 +120,7 @@ int main (int argc, char *argv[]) try
BitSetVector<1> contactNodes(grid.size(dim));
auto gridView = grid.leafGridView();
for (const auto vertex : vertices(gridView))
for (const auto& vertex : vertices(gridView))
{
size_t vIdx = gridView.indexSet().index(vertex);
dirichletNodes[vIdx] = (vertex.geometry().corner(0)[0] > 0.999);
......
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