Skip to content

Commit

Permalink
[rabin] increase allowed spread
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Aug 8, 2023
1 parent 040a0bc commit 8bd36bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hash/rabin.test.js
Expand Up @@ -45,7 +45,7 @@ export const testIrreducibleSpread = _tc => {
const avgSpread = getSpreadAverage(degree, N)
const diffSpread = math.abs(avgSpread - degree)
t.info(`Average spread for degree ${degree} at ${N} repetitions: ${avgSpread}`)
t.assert(diffSpread < 3, 'Spread of irreducible polynomials is within expected range')
t.assert(diffSpread < 4, 'Spread of irreducible polynomials is within expected range')
}

/**
Expand Down

0 comments on commit 8bd36bc

Please sign in to comment.