fix training without an unperturbed trial

This commit is contained in:
Connor Olding 2018-06-13 01:00:15 +02:00
parent b7a9360d6d
commit fca4779e56

View file

@ -226,6 +226,7 @@ local function load_next_trial()
end
trial_i = trial_i + 1
if trial_i == 0 and not cfg.unperturbed_trial then
trial_neg = false
trial_i = 1
end
if trial_i > 0 then