fix bug introduced in 72e84657a7 re eig args. #1266

time-shift
Houtan Bastani 2016-08-24 11:31:07 +02:00
parent 7d7eb73ba8
commit d65f32d550
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ if info(1)==0,
% [V,D,W]=eig(cmm);
sd=sqrt(diag(cmm));
cc=cmm./(sd*sd');
if isoctave && octave_ver_less_than('8.3')
if isoctave || matlab_ver_less_than('8.3')
[V,D]=eig(cc);
%fix for older Matlab versions that do not support computing left eigenvalues, see http://mathworks.com/help/releases/R2012b/matlab/ref/eig.html
[W,junk] = eig(cc.');