Skip to content

Commit c64ddcf

Browse files
committed
force full (rather than sparse) values in warning argument
1 parent d53ea34 commit c64ddcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CanlabCore/@atlas/select_atlas_subset.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
end
345345

346346
if any(sum(obj_subset.probability_maps(hasdata,:), 2) - 1 > tol)
347-
warning('Max subset cumulative probability = %0.2f. Conditional independence assumption was probably violated.', max(sum(obj_subset.probability_maps(hasdata,:), 2)));
347+
warning('Max subset cumulative probability = %0.2f. Conditional independence assumption was probably violated.', full(max(sum(obj_subset.probability_maps(hasdata,:), 2))));
348348
end
349349

350350
% Add labels for combined mask

0 commit comments

Comments
 (0)