Skip to content

Commit

Permalink
minpsdeig.m: remove invalid option. (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
siko1056 committed Jun 15, 2021
1 parent 5a2af39 commit 7515717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minpsdeig.m
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
XX = XX + XX';
if ki > 500
if nnz(XX) < 0.1 * numel(XX), XX = sparse(XX); end
[v,eigv(i),flag] = eigs(XX,1,'SA',struct('issym',true)); %#ok
[v,eigv(i),flag] = eigs(XX,1,'SA'); % 'SA' == 'smallestreal' (since R2017b)
if flag, eigv(i) = min(eig(XX)); end
else
eigv(i) = min(eig(XX));
Expand Down

0 comments on commit 7515717

Please sign in to comment.