Commit 9c17ef9a authored by Oliver Sander's avatar Oliver Sander

Fix a signed/unsigned warning

Like it or not: ReferenceElement::size returns a _signed_ integers.
parent cc8f4656
Pipeline #9969 passed with stage
in 5 minutes and 52 seconds
......@@ -85,7 +85,7 @@ class SubEntityDOFs
// only loop over codim>=subEntityCodim+1.
isInSubEntity_[dim-subEntityCodim][subEntityIndex] = true;
for(std::size_t codim=subEntityCodim+1; codim<=dim; ++codim)
for(std::size_t i=0; i<re.size(subEntityIndex, subEntityCodim, codim); ++i)
for(int i=0; i<re.size(subEntityIndex, subEntityCodim, codim); ++i)
isInSubEntity_[dim-codim][re.subEntity(subEntityIndex, subEntityCodim, i, codim)] = true;
}
......
Markdown is supported
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