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

Bugfix in GlobalLookupIndexSet<I>::pair()

[[Imported from SVN: r1871]]
parent 599b1c2a
No related branches found
No related tags found
No related merge requests found
......@@ -983,7 +983,7 @@ namespace Dune
inline const IndexPair<typename I::GlobalIndexType, typename I::LocalIndexType>&
GlobalLookupIndexSet<I>::pair(const std::size_t& local) const
{
return indexSet_.localIndices_[local];
return indexSet_.localIndices_[index_[local]];
}
template<class I>
......
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