Skip to content

Commit

Permalink
#2001: Update condition for list and bulk inserts
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed Nov 7, 2022
1 parent 86229ce commit 3a2d73d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/collection_builder.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void CollectionManager::makeCollectionImpl(param::ConstructParams<ColT>& po) {
po.bulk_inserts_.push_back(po.bounds_);
}

if (po.list_insert_here_.empty()) {
if (!po.bulk_inserts_.empty() || !po.list_inserts_.empty()) {
auto cons_fn = po.template getConsFn<ColT>();

// Do all bulk insertions
Expand Down

0 comments on commit 3a2d73d

Please sign in to comment.