From 1ad5e6519a704ea130e55ddf8d2d4f71b009f9f2 Mon Sep 17 00:00:00 2001 From: fishpm Date: Mon, 14 Aug 2023 16:05:49 +0200 Subject: [PATCH] Update spmup_volumecorr.m opening if statement check for stats toolbox --- QA/spmup_volumecorr.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QA/spmup_volumecorr.m b/QA/spmup_volumecorr.m index 6e48c98..d88a86c 100644 --- a/QA/spmup_volumecorr.m +++ b/QA/spmup_volumecorr.m @@ -19,7 +19,7 @@ % -------------------------- % Copyright (C) SPMUP Team -if exist('nansum','file') ~= 2 +if exist('nanmean','file') == 2 error('you do not have stats toolbox to perform this operation, sorry') end @@ -163,4 +163,4 @@ end r_outliers = r_outliers'; -r_course = r_course'; \ No newline at end of file +r_course = r_course';