diff options
Diffstat (limited to 'biology/bifrost/files/patch-src_DataStorage.tcc')
-rw-r--r-- | biology/bifrost/files/patch-src_DataStorage.tcc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/biology/bifrost/files/patch-src_DataStorage.tcc b/biology/bifrost/files/patch-src_DataStorage.tcc new file mode 100644 index 000000000000..22196bb8e11c --- /dev/null +++ b/biology/bifrost/files/patch-src_DataStorage.tcc @@ -0,0 +1,14 @@ +--- src/DataStorage.tcc.orig 2024-03-15 15:20:17 UTC ++++ src/DataStorage.tcc +@@ -78,7 +78,10 @@ DataStorage<U>::DataStorage(const DataStorage& o) : co + + unitig_cs_link = new atomic<uint64_t>[sz_link]; + +- for (size_t i = 0; i != sz_link; ++i) unitig_cs_link[i] = o.sz_link[i].load(); ++ // Hayzam Sherif: o.sz_link -> o.unitig_cs_link ++ // Independently proposed by Lucas van Dijk: ++ // https://github.com/pmelsted/bifrost/pull/18/files ++ for (size_t i = 0; i != sz_link; ++i) unitig_cs_link[i] = o.unitig_cs_link[i].load(); + } + + if ((o.data != nullptr) && (o.sz_cs != 0)){ |