From 8363ff1ba0d129605acdc00f9bedc467f5e98ce8 Mon Sep 17 00:00:00 2001 From: nicholst Date: Mon, 16 Sep 2019 12:48:06 +0100 Subject: [PATCH] Fix syntax error pU_ST_Ut_filt -> pU_ST_Ut --- snpm_combo_pp.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snpm_combo_pp.m b/snpm_combo_pp.m index 479613c..8011b2a 100644 --- a/snpm_combo_pp.m +++ b/snpm_combo_pp.m @@ -217,17 +217,17 @@ function snpm_combo_pp(CWD, job) %-Statistic image is t with df degrees of freedom pU_ST_Ut = 1-spm_Tcdf(ST_Ut,df); if alpha==1 % Not filtering on significance - if ~( primaryThresh>=ST_Ut || (primaryThresh>0 && primaryThresh<=pU_ST_Ut_filt)) + if ~( primaryThresh>=ST_Ut || (primaryThresh>0 && primaryThresh<=pU_ST_Ut)) error('SnPM:InvalidPrimaryThresh', ['Primary threshold must be >=' num2str(ST_Ut) ... - ' and >0 and <=' num2str(pU_ST_Ut_filt) ]); + ' and >0 and <=' num2str(pU_ST_Ut) ]); end else pU_C_MaxT = 1-spm_Tcdf(C_MaxT,df); if ~((primaryThresh>=ST_Ut && primaryThreshpU_C_MaxT && primaryThresh<=pU_ST_Ut_filt)) + (primaryThresh>pU_C_MaxT && primaryThresh<=pU_ST_Ut)) error('SnPM:InvalidPrimaryThresh', ['Primary threshold must be >=' num2str(ST_Ut) ... ' and <' num2str(C_MaxT) ' or >' num2str(pU_C_MaxT) ... - ' and <= ' num2str(pU_ST_Ut_filt)]); + ' and <= ' num2str(pU_ST_Ut)]); end clear pU_C_MaxT end