Skip to content
Snippets Groups Projects
Commit a7482de9 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Revert to old-style for-loop.

The containsInsideSubentity() method is defined on the iterator. Using a
range-based for-loop prevents us from calling it.
parent 45a0a1db
No related branches found
No related tags found
No related merge requests found
...@@ -31,9 +31,9 @@ void constructBoundaryDofs(const BoundaryPatch<GridView>& boundaryPatch, ...@@ -31,9 +31,9 @@ void constructBoundaryDofs(const BoundaryPatch<GridView>& boundaryPatch,
boundaryDofs.unsetAll(); boundaryDofs.unsetAll();
for (const auto& it : boundaryPatch) { for (auto it = boundaryPatch.begin(); it != boundaryPatch.end(); ++it) {
const auto& inside = it.inside(); const auto& inside = it->inside();
const auto& localCoefficients = basis.getLocalFiniteElement(inside).localCoefficients(); const auto& localCoefficients = basis.getLocalFiniteElement(inside).localCoefficients();
for (size_t i=0; i<localCoefficients.size(); i++) { for (size_t i=0; i<localCoefficients.size(); i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment