Skip to content

Commit 8848c5c

Browse files
committed
CompatibleProcessorRange bugfix
1 parent c723b84 commit 8848c5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/osp/bsp/model/util/CompatibleProcessorRange.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class CompatibleProcessorRange {
5959
instance_ = &inst;
6060

6161
if constexpr (hasTypedVerticesV<GraphT>) {
62-
typeProcessorIdx_.resize(inst.GetComputationalDag().NumVertexTypes());
62+
typeProcessorIdx_.assign(inst.GetComputationalDag().NumVertexTypes(), {});
6363

6464
for (VTypeT<GraphT> vType = 0; vType < inst.GetComputationalDag().NumVertexTypes(); vType++) {
6565
for (unsigned proc = 0; proc < inst.NumberOfProcessors(); proc++) {

0 commit comments

Comments
 (0)