From 42a3688aec93d7bfe74851524ee3e8013ec68504 Mon Sep 17 00:00:00 2001
From: Jonathan Lambrechts <jonathan.lambrechts@uclouvain.be>
Date: Mon, 4 Jan 2010 14:44:38 +0000
Subject: [PATCH] remove segfault in mesh partitioning ( not 100% sure about
 the solution though)

---
 Mesh/meshPartitionObjects.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mesh/meshPartitionObjects.h b/Mesh/meshPartitionObjects.h
index 7a3cc4a0ea..1822ed37aa 100644
--- a/Mesh/meshPartitionObjects.h
+++ b/Mesh/meshPartitionObjects.h
@@ -141,7 +141,7 @@ class Graph
   {
     const int i = numGrVert++;
     xadj[i] = adjncy.size();
-    vwgts[i-1] = 1;
+    vwgts[i] = 1;
     grVertMapIt->second.write(adjncy);
     element[i] = grVertMapIt->first;
     // Translated vertex numbers start from 1
-- 
GitLab