Skip to content
Snippets Groups Projects
Commit 224d8bc9 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Avoid signed-unsigned comparison warning

Avoid warning in assertion by explicitly converting to int.
parent 6401ab3d
No related branches found
No related tags found
1 merge request!362Feature/uggrid avoid warnings
......@@ -91,7 +91,7 @@ template <int cc>
typename GridImp::template Codim<cc>::Entity
UGGridEntity<0,dim,GridImp>::subEntity ( int i ) const
{
assert(i>=0 && i < subEntities(cc));
assert(i>=0 && i < int(subEntities(cc)));
typename UG_NS<dim>::template Entity<cc>::T* subEntity;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment