From bfaed99b1ef28a66485e5c9539203c9313c2ddd2 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sun, 14 Jul 2024 19:47:22 +0200 Subject: [PATCH] small fixes --- solanaceae/ngc_ft1_sha1/chunk_picker_systems.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solanaceae/ngc_ft1_sha1/chunk_picker_systems.cpp b/solanaceae/ngc_ft1_sha1/chunk_picker_systems.cpp index 44f44fc..b2e3f8a 100644 --- a/solanaceae/ngc_ft1_sha1/chunk_picker_systems.cpp +++ b/solanaceae/ngc_ft1_sha1/chunk_picker_systems.cpp @@ -38,7 +38,7 @@ void chunk_picker_updates( //std::cout << "cput :)\n"; - if (!c.any_of()) { + if (!c.all_of()) { std::cout << "cput uh nuh :(\n"; cp_to_remove.push_back(c); return; @@ -55,7 +55,7 @@ void chunk_picker_updates( cr.view().each([&cr, &os_reg, &peer_open_requests, &receiving_transfers, &nft, &cp_to_remove](const Contact3 cv, ChunkPicker& cp) { Contact3Handle c{cr, cv}; - if (!c.all_of()) { + if (!c.all_of()) { cp_to_remove.push_back(c); return; }