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

Adapt to changed semantics.

Fixes flyspray task 271

[[Imported from SVN: r1267]]
parent 24a7a32d
No related branches found
No related tags found
No related merge requests found
......@@ -491,7 +491,7 @@ void testGraph ()
//SymmetricCriterion<BCRSGraph, FirstDiagonal> crit;
SymmetricCriterion<BCRSMat,FirstDiagonal> crit;
Dune::Amg::AggregatesMap<PropertiesGraph::VertexDescriptor> aggregatesMap(pgraph.maxVertex());
Dune::Amg::AggregatesMap<PropertiesGraph::VertexDescriptor> aggregatesMap(pgraph.maxVertex()+1);
aggregatesMap.buildAggregates(laplacian2d, pgraph, crit);
Dune::Amg::printAggregates2d(aggregatesMap, N, N, std::cout);
......@@ -537,7 +537,7 @@ void testAggregate(double eps)
SymmetricCriterion<BCRSMat, FirstDiagonal> crit;
Dune::Amg::AggregatesMap<PropertiesGraph::VertexDescriptor> aggregatesMap(pgraph.maxVertex());
Dune::Amg::AggregatesMap<PropertiesGraph::VertexDescriptor> aggregatesMap(pgraph.maxVertex()+1);
aggregatesMap.buildAggregates(mat, pgraph, crit);
......@@ -545,7 +545,7 @@ void testAggregate(double eps)
std::cout<<"Excluded!"<<std::endl;
Dune::Amg::AggregatesMap<SPropertiesGraph::VertexDescriptor> saggregatesMap(pgraph.maxVertex());
Dune::Amg::AggregatesMap<SPropertiesGraph::VertexDescriptor> saggregatesMap(pgraph.maxVertex()+1);
saggregatesMap.buildAggregates(mat, spgraph, crit);
Dune::Amg::printAggregates2d(saggregatesMap, N, N, std::cout);
......
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