Skip to content

Commit

Permalink
Modify the max value of prime
Browse files Browse the repository at this point in the history
  • Loading branch information
moratorium08 committed May 7, 2017
1 parent c74cac6 commit b6fa1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stages/factorization.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module.exports = {
ioGenerator: (random) => {
const numbers = [0, 0, 0];
const primes = [2];
for (let i = 3; i < 65536; i++) {
for (let i = 3; i < 256; i++) {
let flag = -1;
for (const prime of primes) {
if (i % prime === 0) {
Expand Down

0 comments on commit b6fa1ad

Please sign in to comment.