don't base max_time on number of trials (fixes playback mode)
This commit is contained in:
parent
b0058db80e
commit
2fe009b5fe
1 changed files with 1 additions and 1 deletions
2
main.lua
2
main.lua
|
@ -423,7 +423,7 @@ local function do_reset()
|
|||
end
|
||||
end
|
||||
|
||||
max_time = 6 * sqrt(480 / #trial_params * (epoch_i - 1)) + 60
|
||||
max_time = 6 * sqrt(10 * (epoch_i - 1)) + 60
|
||||
max_time = clamp(max_time, cfg.min_time, cfg.max_time)
|
||||
max_time = ceil(max_time)
|
||||
|
||||
|
|
Loading…
Reference in a new issue