Skip to content

Commit 2382ad9

Browse files
committed
Delint.
1 parent 6f63b80 commit 2382ad9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

include/bitcoin/database/primitives/sieve.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,10 @@ class sieve
7070
template <size_t Size>
7171
static CONSTEVAL auto offsets() NOEXCEPT
7272
{
73+
using namespace system;
7374
std_array<uint16_t, Size> offset{};
74-
for (auto index = zero; index < Size; ++index)
75-
offset[index] = to_half(index * add1(index));
75+
for (uint16_t index{}; index < Size; ++index)
76+
offset[index] = to_half(ceilinged_multiply(index, add1(index)));
7677
return offset;
7778
}
7879

0 commit comments

Comments
 (0)