Skip to content
Snippets Groups Projects
Commit f00b0c9c authored by Peter Bastian's avatar Peter Bastian
Browse files

more scope resolution to avoid warnings

[[Imported from SVN: r483]]
parent 46d73133
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,6 @@ namespace Dune {
enum attributes { owner=OwnerOverlapCopyAttributeSet::owner,
overlap=OwnerOverlapCopyAttributeSet::overlap,
copy=OwnerOverlapCopyAttributeSet::copy };
typedef ParallelLocalIndex<AttributeSet> LI;
typedef ParallelIndexSet<GlobalIdType,LI,512> PIS;
typedef RemoteIndices<PIS> RI;
......@@ -303,7 +302,7 @@ namespace Dune {
mask.resize(x.size());
for (int i=0; i<mask.size(); i++) mask[i] = 1;
for (typename PIS::const_iterator i=pis.begin(); i!=pis.end(); ++i)
if (i->local().attribute()!=owner)
if (i->local().attribute()!=OwnerOverlapCopyAttributeSet::owner)
mask[i->local().local()] = 0;
}
result = 0;
......@@ -328,7 +327,7 @@ namespace Dune {
mask.resize(x.size());
for (int i=0; i<mask.size(); i++) mask[i] = 1;
for (typename PIS::const_iterator i=pis.begin(); i!=pis.end(); ++i)
if (i->local().attribute()!=owner)
if (i->local().attribute()!=OwnerOverlapCopyAttributeSet::owner)
mask[i->local().local()] = 0;
}
double result = 0;
......@@ -410,7 +409,7 @@ namespace Dune {
void project (T1& x) const
{
for (typename PIS::const_iterator i=pis.begin(); i!=pis.end(); ++i)
if (i->local().attribute()==copy)
if (i->local().attribute()==OwnerOverlapCopyAttributeSet::copy)
x[i->local().local()] = 0;
}
......
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