Commit 43dd7bf9 authored by Carsten Gräser's avatar Carsten Gräser

[cleanup] Be signed-correct

Maybe that's picky, but I tried hard to stay 'signed-correct'
in dune-functions, i.e. use signed types only where you allow
signed values. I'd rather not leave this just to hack around
the sloppy ReferenceElement interface.
parent 5fa10a04
......@@ -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(int i=0; i<re.size(subEntityIndex, subEntityCodim, codim); ++i)
for(std::size_t i=0; i<static_cast<std::size_t>(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