Skip to content
Snippets Groups Projects
Commit 42a3688a authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

remove segfault in mesh partitioning ( not 100% sure about the solution

though)
parent a3654e64
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ class Graph ...@@ -141,7 +141,7 @@ class Graph
{ {
const int i = numGrVert++; const int i = numGrVert++;
xadj[i] = adjncy.size(); xadj[i] = adjncy.size();
vwgts[i-1] = 1; vwgts[i] = 1;
grVertMapIt->second.write(adjncy); grVertMapIt->second.write(adjncy);
element[i] = grVertMapIt->first; element[i] = grVertMapIt->first;
// Translated vertex numbers start from 1 // Translated vertex numbers start from 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment