Skip to content

Commit

Permalink
Fix C++ types
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Dec 26, 2024
1 parent cf030a8 commit 12a89c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Eratosthenes/_eratosthenes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ inline size_t backward7(const BigInteger& n) {
97U, 101U, 103U, 107U, 109U, 113U, 121U, 127U, 131U, 137U, 139U, 143U, 149U, 151U, 157U, 163U, 167U,
169U, 173U, 179U, 181U, 187U, 191U, 193U, 197U, 199U, 209U
};
return std::distance(m, std::lower_bound(m, m + 48U, n % 210U)) + 48U * (n / 210U) + 1U;
return (size_t)(std::distance(m, std::lower_bound(m, m + 48U, n % 210U)) + 48U * (n / 210U) + 1U);
}

inline size_t GetWheel5and7Increment(unsigned short& wheel5, unsigned long long& wheel7) {
Expand Down

0 comments on commit 12a89c2

Please sign in to comment.