JaneliaSciComp / JRCLUST

JRCLUST
Apache License 2.0
34 stars 22 forks source link

Bug on Line 33 of doLoadProbe #90

Closed NoahDolev closed 5 years ago

NoahDolev commented 5 years ago

Hi,

I believe the line:

probe.shankMap = cell2mat(arrayfun(@(i) i*ones(size(pstr.shank{i})), 1:numel(shank), 'UniformOutput', 0));

Should read:

probe.shankMap = cell2mat(arrayfun(@(i) i*ones(size(pstr.shank{i})), 1:numel(pstr.shank), 'UniformOutput', 0));

Cheers, Noah

aliddell commented 5 years ago

Right you are. Thanks for spotting it!