Increase the random seed range

This commit is contained in:
Olivia Godone-Maresca 2023-04-01 21:26:32 -04:00
parent 75445185c4
commit bc711414a8

View File

@ -1099,7 +1099,7 @@ function createTask(task) {
function getCurrentUserRequest() {
const numOutputsTotal = parseInt(numOutputsTotalField.value)
const numOutputsParallel = parseInt(numOutputsParallelField.value)
const seed = (randomSeedField.checked ? Math.floor(Math.random() * 10000000) : parseInt(seedField.value))
const seed = (randomSeedField.checked ? Math.floor(Math.random() * (2**32 - 1)) : parseInt(seedField.value))
const newTask = {
batchesDone: 0,