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

Removed unnecessary checks in scatter.

[[Imported from SVN: r541]]
parent f188f811
No related branches found
No related tags found
No related merge requests found
......@@ -108,12 +108,7 @@ namespace Dune
static void scatter(GlobalAggregatesMap<T,TI>& ga, GlobalIndex global, size_t i)
{
if(global < AggregatesMap<T>::ISOLATED)
ga.put(global, i);
else{
assert(global != AggregatesMap<T>::UNAGGREGATED);
ga.get(i)=global;
}
ga[i]=global;
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment