Commit 1dc5a653 authored by Robert K's avatar Robert K
Browse files

remoe warning

parent 8d05f416
......@@ -341,14 +341,14 @@ namespace Dune
}
int elIndex = 0;
const int numVertices = (1 << dim);
const unsigned int numVertices = (1 << dim);
std::vector< VertexId > vertices( numVertices );
const ElementIterator end = spView.template end< 0, InteriorBorder_Partition >();
for( ElementIterator it = spView.template begin< 0, InteriorBorder_Partition >(); it != end; ++it )
{
const typename ElementIterator::Entity &entity = *it;
assert( numVertices == entity.template count< dim >() );
for( int i = 0; i < numVertices; ++i )
assert( numVertices == entity.subEntities( dim ) );
for( unsigned int i = 0; i < numVertices; ++i )
vertices[ i ] = vertexId[ indexSet.subIndex( entity, i, dim ) ];
factory.insertElement( entity.type(), vertices );
......
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