Skip to content

Commit

Permalink
Added missing semicolon to proj_l1
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenbeckr committed Feb 21, 2014
1 parent e4e4f66 commit 899eeb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proj_l1.m
Expand Up @@ -77,7 +77,7 @@
ndx = find( cs - lambdas.*cd >= q+2*eps(q), 1, 'first');
if ~isempty( ndx )
ndx = ndx - 1;
lambda = ( cs(ndx) - q )/cd(ndx)
lambda = ( cs(ndx) - q )/cd(ndx);
x = sign(x).*max( 0, abs(x) - lambda*d );
end
otherwise,
Expand Down

0 comments on commit 899eeb9

Please sign in to comment.