From 45c5f7f76628896bab4ff870b154ec2421e885af Mon Sep 17 00:00:00 2001 From: Gregor Olenik Date: Fri, 30 Aug 2024 09:28:07 +0200 Subject: [PATCH] Fix local span computation --- src/Repartitioner.C | 9 +++------ unitTests/Repartitioner.C | 29 ++++++++++++++++++++++++++--- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/src/Repartitioner.C b/src/Repartitioner.C index 2192a12b0..185715935 100644 --- a/src/Repartitioner.C +++ b/src/Repartitioner.C @@ -223,25 +223,22 @@ std::vector Repartitioner::build_non_local_interfaces( is_local.push_back(local); if (local) { + gko::size_type rows_start = local_rows.size(); local_rows.insert(local_rows.end(), non_local_rows.data() + begin, non_local_rows.data() + end); std::vector