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

IdType::subid -> IdType::subId

[[Imported from SVN: r3072]]
parent 0b7ec6bb
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ namespace Dune
template<int cc>
int map (const typename G::Traits::template Codim<0>::Entity& e, int i) const
{
IdType id = ids.template subid<cc>(e,i); // get id
IdType id = ids.template subId<cc>(e,i); // get id
typename std::map<IdType,int>::iterator it = index.find(id); // look up in map
if (it!=index.end()) return it->second; // return index if found
index[id] = n++; // put next index in map
......@@ -125,7 +125,7 @@ namespace Dune
template<int cc> // this is now the subentity's codim
bool contains (const typename G::Traits::template Codim<0>::Entity& e, int i, int& result) const
{
IdType id = ids.template subid<cc>(e,i); // get id
IdType id = ids.template subId<cc>(e,i); // get id
typename std::map<IdType,int>::iterator it = index.find(id); // look up in map
if (it!=index.end())
{
......
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