Fixed unrolling bug in segmented_count_if

This commit is contained in:
Ion Gaztañaga
2026-03-29 15:42:51 +02:00
parent 6d935f243e
commit 1b221fcca0
@@ -59,7 +59,7 @@ segmented_count_if_dispatch
count += static_cast<difference_type>(pred(*first)); ++first;
BOOST_FALLTHROUGH;
case 1:
count += static_cast<difference_type>(pred(*first));
count += static_cast<difference_type>(pred(*first)); ++first;
BOOST_FALLTHROUGH;
default:
break;