Skip to content
Snippets Groups Projects
Commit 2034ac56 authored by Markus Blatt's avatar Markus Blatt
Browse files

assertion without warning.

[[Imported from SVN: r522]]
parent 501f55b3
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ namespace Dune
inline GlobalIndex& get(std::size_t index)
{
const Vertex& aggregate = aggregates_[index];
assert(index < AggregatesMap<Vertex>::ISOLATED);
assert(aggregate < AggregatesMap<Vertex>::ISOLATED);
const Dune::IndexPair<GlobalIndex,LocalIndex >* pair = indexset_.pair(aggregate);
assert(pair!=0);
return const_cast<GlobalIndex&>(pair->global());
......
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