fix for loop scoping
parent
4e67d23468
commit
1c6c57b871
|
|
@ -28,7 +28,8 @@ std::vector<word> * NewPrimeTable()
|
|||
|
||||
for (unsigned int p=3; p<=s_lastSmallPrime; p+=2)
|
||||
{
|
||||
for (unsigned int j=1; j<testEntriesEnd; j++)
|
||||
unsigned int j;
|
||||
for (j=1; j<testEntriesEnd; j++)
|
||||
if (p%primeTable[j] == 0)
|
||||
break;
|
||||
if (j == testEntriesEnd)
|
||||
|
|
|
|||
Loading…
Reference in New Issue