Skip to content

Commit

Permalink
Merge pull request #119 from ahrends/patch-1
Browse files Browse the repository at this point in the history
fixed bug in hsinference.m Gamma formatting
  • Loading branch information
vidaurre authored Feb 10, 2025
2 parents 8da8dec + 99d7c7a commit 2e5640b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train/hsinference.m
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@
end

% join
if ~hmm.train.acrosstrial_constrained
if ~isfield(hmm.train, 'acrosstrial_constrained') || isempty(hmm.train.acrosstrial_constrained)
Gamma = cell2mat(Gamma);
LL = cell2mat(LL);
if ~mixture_model, Xi = cell2mat(Xi); end
Expand Down Expand Up @@ -475,4 +475,4 @@
else, t = no_c(1)+t-1;
end
end
end
end

0 comments on commit 2e5640b

Please sign in to comment.