Skip to content

Commit

Permalink
Update spmup_spatialcorr.m
Browse files Browse the repository at this point in the history
opening if statement checks only if stats toolbox available
  • Loading branch information
fishpm authored Aug 14, 2023
1 parent 72263c7 commit be290c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QA/spmup_spatialcorr.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
% --------------------------
% Copyright (C) SPMUP Team

if exist('nansum','file') ~= 2
if exist('nanmean','file') == 0
error('you do not have stats toolbox to perform this operation, sorry')
end

Expand Down

0 comments on commit be290c4

Please sign in to comment.