Skip to content

Commit

Permalink
Fix warning in zeta.test
Browse files Browse the repository at this point in the history
  • Loading branch information
dvd101x committed Apr 27, 2024
1 parent a3e2925 commit a4ac4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit-tests/function/special/zeta.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Riemann Zeta', function () {
const digits = Math.abs(Math.log10(bigEpsilon))

const math2 = math.create()
math2.config({ epsilon: bigEpsilon })
math2.config({ relTol: bigEpsilon, absTol: bigEpsilon * 1e-3 })

function bigApproxEqual (a, b) {
assert.strictEqual(
Expand Down

0 comments on commit a4ac4a8

Please sign in to comment.