Skip to content

Commit

Permalink
automatically synchronized identical files to 4ffa4a6
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoostenveld committed Apr 9, 2021
1 parent 4ffa4a6 commit b15a443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plotting/private/findcluster.m
Expand Up @@ -103,7 +103,7 @@
labelmat = zeros(size(onoff));
numcluster = 0;

if ~(numel(siz)==1 && all(siz==1))
if ~(numel(siz)==1 && all(siz==1) && islogical(onoff))
for j = 1:spatdimlength
if numel(siz) <= 3 % if 2D or 3D data (without spatial dimension)
% use SPM for 2D/3D data instead of the MATLAB image processing toolbox
Expand Down

0 comments on commit b15a443

Please sign in to comment.