pock: Set the sieve vector size correctly.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 7 Feb 2019 11:28:33 +0000 (11:28 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 7 Feb 2019 11:43:18 +0000 (11:43 +0000)
commit537eab734cabdafd8757bdf49ac09762c798a40a
treeef782842625badb4a9f65ca49ff96591562d1360
parent31b5a1fe9593d7d5d1064433378315f8f8a4f450
pock: Set the sieve vector size correctly.

Having calculated `sievesz' so carefully, it seems a shame not to use it
-- especially when that results in the sieve vector being thirty times
larger than it should be.

More seriously, this causes the `smallprimes' iterator to continue way
past its proper end-point.  Fortunately, all of the uses in this program
are safe.
pock