Skip to content
Snippets Groups Projects
Commit 3c88367e authored by Rebecca Neumann's avatar Rebecca Neumann
Browse files

account for novlp case (aggregate can consist of unknowns with different attributes)

[[Imported from SVN: r1439]]
parent 2f717df4
No related branches found
No related tags found
No related merge requests found
......@@ -348,9 +348,8 @@ namespace Dune
AggregatesMap<typename Graph::VertexDescriptor>::ISOLATED)
{
assert(aggregates[index->localIndexPair().local()]<attributes.size());
assert(attributes[aggregates[index->localIndexPair().local()]] == std::numeric_limits<char>::max()
|| attributes[aggregates[index->localIndexPair().local()]] == index->attribute());
attributes[aggregates[index->localIndexPair().local()]] = index->attribute();
if (attributes[aggregates[index->localIndexPair().local()]] != 3)
attributes[aggregates[index->localIndexPair().local()]] = index->attribute();
}
}
......
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