Skip to content

Commit

Permalink
Small fix of a mistake that slowed down sieving.
Browse files Browse the repository at this point in the history
  • Loading branch information
mumusbtc committed Jul 12, 2017
1 parent 94443a7 commit d8e172e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions prime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,6 @@ namespace Core
uint32_t lp = l*p;
for (uint16_t pt = SIEVETARGETSTART; pt < SIEVETARGET; pt++)
{
if ((pt != 5 && pt != 6 && pt != 7) && i > 1500000)
continue;
uint32_t remainder = base_remainder + _offsets14Tuple1[pt];
if (p < remainder)
remainder -= p;
Expand Down

0 comments on commit d8e172e

Please sign in to comment.