From 9236322de69efefffc7438a00c205e8b9182bbff Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 3 Nov 2008 19:30:33 +0000 Subject: [PATCH] bug fix from debian --- Mesh/Partition.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Mesh/Partition.cpp b/Mesh/Partition.cpp index 3bc6cc102f..c189f83b68 100644 --- a/Mesh/Partition.cpp +++ b/Mesh/Partition.cpp @@ -194,8 +194,8 @@ int PartitionGraph(Graph &graph, PartitionOptions &options) } if(!ier) graph.short2int(); } - break; #endif + break; case 2: // Metis #ifdef HAVE_METIS { @@ -249,11 +249,10 @@ int PartitionGraph(Graph &graph, PartitionOptions &options) for(int n = graph.getNumVertex(); n--;) ++(*p++); } } - break; #endif + break; } return ier; - } -- GitLab