Skip to content

Commit

Permalink
Fix linop_TV to use p=1 not p=2 for norms
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenbeckr committed Nov 11, 2015
1 parent 1945a77 commit 0611bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linop_TV.m
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
op = Dh + 1i*Dv;
else
% "norms" is a CVX function, but we can over-load it (see sub-function below)
op = @(X) sum( norms( [Dh*X(:), Dv*X(:)]' ) );
op = @(X) sum( norms( [Dh*X(:), Dv*X(:)]', 1 ) );
end
return;
end
Expand Down

0 comments on commit 0611bca

Please sign in to comment.