Commit 5baf9fde authored by Meryem Ayse Yucel's avatar Meryem Ayse Yucel
Browse files

GLM and tCCA minor bug fixes

Removed check for ss_ch_ix which does not exist anymore.
Initialized beta_label in glm
parent 595784b0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ data_ysum2 = DataClass().empty();
data_yresid   = DataClass().empty();
beta_blks     = cell(length(data_y),1);
yR_blks       = cell(length(data_y),1);
beta_label = [];

% Check input args
if isempty(tIncAuto)
+13 −18
Original line number Diff line number Diff line
@@ -147,11 +147,6 @@ if flagtCCA
        lstSS = lst(find(rhoSD<=rhoSD_ssThresh &  MeasListAct(lst)==1)); %#ok<*FNDSB>
        lstLS = lst(find(rhoSD>rhoSD_ssThresh & MeasListAct(lst)==1));
        
        % Changed from "if ss_ch_inx ~= 0" which generated an error sometimes to the following
		% JD - Jan 15, 2020
        if all(ss_ch_inx > 0)
            lstSS = lstSS(ss_ch_on);
        end
        
        
        %% get long and short separation data