Commit 20c7ee34 authored by Timo Koch's avatar Timo Koch
Browse files

[cleanup][rannacherturek] Remove obsolete bounds check on unsigned integer

Fix type-limits compiler warning
parent 52d168b8
Pipeline #42184 passed with stage
in 11 minutes and 50 seconds
...@@ -48,7 +48,7 @@ namespace Dune ...@@ -48,7 +48,7 @@ namespace Dune
//! map index i to local key //! map index i to local key
const LocalKey &localKey ( std::size_t i ) const const LocalKey &localKey ( std::size_t i ) const
{ {
assert( 0 <= i && i < 2*d ); assert( i < 2*d );
return localKeys_[ i ]; return localKeys_[ i ];
} }
......
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