Skip to content
Snippets Groups Projects
Commit 147979b8 authored by Maximilian Kurthen's avatar Maximilian Kurthen
Browse files

fixed a bug in the mmlgmm code

parent ee59b51f
Branches
No related tags found
No related merge requests found
...@@ -27,10 +27,14 @@ function [DL,INFO] = mmlgmm(X,CFG) ...@@ -27,10 +27,14 @@ function [DL,INFO] = mmlgmm(X,CFG)
% Copyright (c) 2010 Oliver Stegle, Joris Mooij % Copyright (c) 2010 Oliver Stegle, Joris Mooij
% All rights reserved. See the file LICENSE for license terms. % All rights reserved. See the file LICENSE for license terms.
if nargin < 3 if nargin < 2
CFG = struct; CFG = struct;
end; end;
fprintf('maxcl %d', CFG.maxclusters);
if isinteger(CFG.maxclusters)
fprintf('ISINTEGER');
end;
if ~isfield(CFG,'reg') if ~isfield(CFG,'reg')
CFG.reg = 1e-4; CFG.reg = 1e-4;
end; end;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment