Skip to content
Snippets Groups Projects
Commit 3604a2ea authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

Removed warnings.

git-svn-id: https://dune.mathematik.uni-freiburg.de/svn/alugrid/trunk@131 0d966ed9-3843-0410-af09-ebfb50bd7c74
parent 98434ea4
No related branches found
No related tags found
No related merge requests found
// Robert Kloefkorn (c) 2004 - 2005
#ifndef GITTER_DUNE_IMPL_CC_INCLUDED
#define GITTER_DUNE_IMPL_CC_INCLUDED
......@@ -30,7 +31,7 @@ inline void GitterDuneBasis ::
goDownHelement( Gitter::helement_STI & el , vector<bool> & idxcheck)
{
typedef Gitter :: helement_STI ElType;
assert( el.getIndex() < idxcheck.size() );
assert( (static_cast<size_t> (el.getIndex())) < idxcheck.size() );
idxcheck[ el.getIndex() ] = false;
for( ElType * ch = el.down() ; ch ; ch = ch->next())
goDownHelement( *ch , idxcheck );
......@@ -87,7 +88,7 @@ void GitterDuneBasis ::restoreIndices (istream & in)
for(int i=0; i<idxsize; i++) checkidx[i] = true;
for( w->first(); ! w->done() ; w->next () )
{
assert( w->item().getIndex() < checkidx.size() );
assert( (static_cast<size_t> (w->item().getIndex())) < checkidx.size() );
checkidx[ w->item().getIndex() ] = false;
}
......
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