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

Bug in assertion.

The assertion was only right for the sequential case!

[[Imported from SVN: r298]]
parent e37a0fd6
Branches
Tags
No related merge requests found
......@@ -104,9 +104,9 @@ void testCoarsenIndices()
visited.reserve(mg.maxVertex());
Iterator visitedIterator=visited.begin();
*/
std::cout<<N*N<<"=="<<mg.maxVertex()<<std::endl;
std::cout<<n*n<<"=="<<mg.maxVertex()<<std::endl;
assert(N*N==mg.maxVertex());
assert(mat.N()==mg.maxVertex());
bool visitedIterator[N*N];
for(Vertex i=0; i < mg.maxVertex(); ++i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment