From 3a2d73d1b83a2af46466f8fb05def049973ce576 Mon Sep 17 00:00:00 2001 From: Arkadiusz Szczepkowicz Date: Mon, 7 Nov 2022 14:14:13 +0100 Subject: [PATCH] #2001: Update condition for list and bulk inserts --- src/vt/vrt/collection/collection_builder.impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vt/vrt/collection/collection_builder.impl.h b/src/vt/vrt/collection/collection_builder.impl.h index ec43e76d9f..28004bd2c7 100644 --- a/src/vt/vrt/collection/collection_builder.impl.h +++ b/src/vt/vrt/collection/collection_builder.impl.h @@ -162,7 +162,7 @@ void CollectionManager::makeCollectionImpl(param::ConstructParams& 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(); // Do all bulk insertions