Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f6299b5b authored by hhakim's avatar hhakim
Browse files

Fix 'desc' key value to 'descend' in sort() because Matlab R2016 doesn't want it

parent 9de10cc7
No related branches found
No related tags found
No related merge requests found
Pipeline #833876 skipped
......@@ -570,7 +570,7 @@ classdef FaustFactory
[W1,D1] = matfaust.FaustFactory.eigtj(M*M', J, varargin{:});
[W2,D2] = matfaust.FaustFactory.eigtj(M'*M, J, varargin{:});
S = diag(W1'*M*W2);
[~,I] = sort(abs(S), 'desc');
[~,I] = sort(abs(S), 'descend');
S = sparse(diag(S(I)));
sign_S = sign(S);
S = S*sign_S;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment