From 63c1d0a7dd0a66cc9dfb8bb20fea76893bc0e3ee Mon Sep 17 00:00:00 2001 From: Arnaud Delorme Date: Tue, 8 Sep 2026 22:18:30 -0700 Subject: [PATCH] chore: remove unreachable pop_autorej branch --- functions/popfunc/pop_autorej.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/functions/popfunc/pop_autorej.m b/functions/popfunc/pop_autorej.m index 49ed9e424..e508d250a 100644 --- a/functions/popfunc/pop_autorej.m +++ b/functions/popfunc/pop_autorej.m @@ -212,11 +212,7 @@ fprintf('Decreasing probability limits for final pruning...######\n'); opt.startprob = opt.startprob - 0.5; numrej = 1; maxiter = maxiter+1; % repeat process back to 5 stds else - if maxiter > 8 - opt.maxrej = 15; % go through last round with a high threshold - else - repeat = 0; - end + repeat = 0; % threshold back to 5 s.d. or 8 decrements done: stop end end end