Skip to content

Commit 6219751

Browse files
authored
CompatibleProcessorRange bugfix (#70)
1 parent c723b84 commit 6219751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)