diff --git a/CanlabCore/@atlas/probability_maps_to_region_index.m b/CanlabCore/@atlas/probability_maps_to_region_index.m index fd71a896..e090c364 100644 --- a/CanlabCore/@atlas/probability_maps_to_region_index.m +++ b/CanlabCore/@atlas/probability_maps_to_region_index.m @@ -31,7 +31,7 @@ for f = 1:length(fnames) if length(dat.labels) ~= n_regions for i = 1:length(dropped_ind) - warning('Dropping %s index %d', fnames{f}, dropped_ind); + warning('Dropping %s index %d', fnames{f}, dropped_ind(i)); end end if length(dat.(fnames{f})) == n_regions