Skip to content

Commit ab37377

Browse files
committed
Removing duplicated checks.
1 parent cd57c31 commit ab37377

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

include/simdbitpackinghelpers.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,9 +1031,6 @@ template <class DeltaHelper> struct SIMDBitPackingHelpers {
10311031
if (Qty % SIMDBlockSize) {
10321032
throw std::logic_error("Incorrect # of entries.");
10331033
}
1034-
if (Qty % SIMDBlockSize) {
1035-
throw std::logic_error("Incorrect # of entries.");
1036-
}
10371034
__m128i initoffset = _mm_set1_epi32(0);
10381035

10391036
for (size_t k = 0; k < Qty / SIMDBlockSize; ++k) {
@@ -1053,9 +1050,6 @@ template <class DeltaHelper> struct SIMDBitPackingHelpers {
10531050
if (Qty % SIMDBlockSize) {
10541051
throw std::logic_error("Incorrect # of entries.");
10551052
}
1056-
if (Qty % SIMDBlockSize) {
1057-
throw std::logic_error("Incorrect # of entries.");
1058-
}
10591053
__m128i initoffset = _mm_set1_epi32(0);
10601054

10611055
for (size_t k = 0; k < Qty / SIMDBlockSize; ++k) {

0 commit comments

Comments
 (0)