From b7b8b9cd9c66cc0fb5275b385d735a56861ca31f Mon Sep 17 00:00:00 2001 From: Matthias Schimek Date: Fri, 25 Oct 2024 16:23:40 +0200 Subject: [PATCH] remove duplicate push_back (#51) --- kagen/edgeweight_generators/per_edge_weight_generator.h | 1 - 1 file changed, 1 deletion(-) diff --git a/kagen/edgeweight_generators/per_edge_weight_generator.h b/kagen/edgeweight_generators/per_edge_weight_generator.h index 675882c1..00873904 100644 --- a/kagen/edgeweight_generators/per_edge_weight_generator.h +++ b/kagen/edgeweight_generators/per_edge_weight_generator.h @@ -24,7 +24,6 @@ class PerEdgeWeightGenerator : public EdgeWeightGenerator { SInt v = adjncy[e]; SSInt weight = static_cast(this)->GenerateEdgeWeight(u, v); weights.push_back(weight); - weights.push_back(weight); } } }