Provide optimizer default value

This commit is contained in:
Surma
2021-06-16 13:14:22 +01:00
parent 14a715e952
commit 3d136016e2
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ import visdifWasm from 'asset-url:../../codecs/visdif/visdif.wasm';
export async function binarySearch(
measureGoal,
measure,
{ min = 0, max = 100, epsilon = 0.1, maxRounds = 8 } = {},
{ min = 0, max = 100, epsilon = 0.1, maxRounds = 6 } = {},
) {
let parameter = (max - min) / 2 + min;
let delta = (max - min) / 4;