From 8848c5c18ea88f3cd363782776404531537090f5 Mon Sep 17 00:00:00 2001 From: tonibohnlein Date: Mon, 5 Jan 2026 15:16:36 +0100 Subject: [PATCH] CompatibleProcessorRange bugfix --- include/osp/bsp/model/util/CompatibleProcessorRange.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osp/bsp/model/util/CompatibleProcessorRange.hpp b/include/osp/bsp/model/util/CompatibleProcessorRange.hpp index 3c529b87..e7a43f2c 100644 --- a/include/osp/bsp/model/util/CompatibleProcessorRange.hpp +++ b/include/osp/bsp/model/util/CompatibleProcessorRange.hpp @@ -59,7 +59,7 @@ class CompatibleProcessorRange { instance_ = &inst; if constexpr (hasTypedVerticesV) { - typeProcessorIdx_.resize(inst.GetComputationalDag().NumVertexTypes()); + typeProcessorIdx_.assign(inst.GetComputationalDag().NumVertexTypes(), {}); for (VTypeT vType = 0; vType < inst.GetComputationalDag().NumVertexTypes(); vType++) { for (unsigned proc = 0; proc < inst.NumberOfProcessors(); proc++) {