From 3e59c25f6d918fbbbabd7e14567747fc256351fa Mon Sep 17 00:00:00 2001 From: Daniel Seemaier Date: Tue, 28 Nov 2023 11:02:19 +0100 Subject: [PATCH] [KaMinPar] Remove obsolete struct member --- kaminpar-shm/context.cc | 1 - kaminpar-shm/kaminpar.h | 1 - 2 files changed, 2 deletions(-) diff --git a/kaminpar-shm/context.cc b/kaminpar-shm/context.cc index 03472cdf..b4e8b4ee 100644 --- a/kaminpar-shm/context.cc +++ b/kaminpar-shm/context.cc @@ -30,7 +30,6 @@ void PartitionContext::setup(const Graph &graph) { total_node_weight = graph.total_node_weight(); total_edge_weight = graph.total_edge_weight(); max_node_weight = graph.max_node_weight(); - max_degree = graph.compute_max_degree(); setup_block_weights(); } diff --git a/kaminpar-shm/kaminpar.h b/kaminpar-shm/kaminpar.h index fe13794a..ba6a9c52 100644 --- a/kaminpar-shm/kaminpar.h +++ b/kaminpar-shm/kaminpar.h @@ -254,7 +254,6 @@ struct PartitionContext { NodeWeight total_node_weight = kInvalidNodeWeight; EdgeWeight total_edge_weight = kInvalidEdgeWeight; NodeWeight max_node_weight = kInvalidNodeWeight; - EdgeID max_degree = kInvalidEdgeID; void setup(const Graph &graph); };