# HG changeset patch # User idamnjanovic # Date 1300283912 0 # Node ID a02503d91c8d6ac1a99c5199ecfc106ad43052d5 # Parent 55faa9b5d1acc9e3a6475c2f6e375f71eae4bd9e diff -r 55faa9b5d1ac -r a02503d91c8d DL/RLS-DLA/SMALL_rlsdla.m --- a/DL/RLS-DLA/SMALL_rlsdla.m Wed Mar 16 13:41:02 2011 +0000 +++ b/DL/RLS-DLA/SMALL_rlsdla.m Wed Mar 16 13:58:32 2011 +0000 @@ -118,9 +118,9 @@ for i = 1:cnt if (codemode == CODE_SPARSITY) - w = ompmex(D,data(:,i),[],[],thresh,1,-1,0); + w = ompmex(D,data(:,i),[],thresh,'checkdict','off'); else - w = omp2mex(D,data(:,i),[],[],[],thresh,0,-1,maxatoms,0); + w = omp2(D,data(:,i),[],thresh,'maxatoms',maxatoms, 'checkdict','off'); end spind=find(w);