From 7eadb180f7feb1ab8977bfa0990976cab7ce9da9 Mon Sep 17 00:00:00 2001 From: Bogdan Petre Date: Tue, 31 Oct 2023 02:33:06 -0400 Subject: [PATCH] bug fix --- CanlabCore/@atlas/probability_maps_to_region_index.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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