Skip to content
Snippets Groups Projects
Commit f23a8324 authored by Christian Engwer's avatar Christian Engwer
Browse files

small bug broke the simplex refinement of hypercubes

[[Imported from SVN: r1818]]
parent 62076d00
No related branches found
No related tags found
No related merge requests found
......@@ -279,9 +279,8 @@ namespace Dune {
{
IndexVector indices = backend.vertexIndices();
int base = kuhnIndex * BackendRefinement::nElements(level);
for(int i=0; i <= dimension; ++i)
indices += base;
int base = kuhnIndex * BackendRefinement::nVertices(level);
indices += base;
return indices;
}
......
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