Mercurial > hg > octave-lojdl
changeset 9597:a32f70d8d146
Minor typo in new eigs.cc test
author | David Bateman <dbateman@free.fr> |
---|---|
date | Tue, 01 Sep 2009 21:04:15 +0200 |
parents | f26229391ea1 |
children | 70de69177370 |
files | src/DLD-FUNCTIONS/eigs.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/eigs.cc +++ b/src/DLD-FUNCTIONS/eigs.cc @@ -837,7 +837,7 @@ %! assert (d1, eigs(A,k,4.1), 1e-11); %!testif HAVE_ARPACK %! AA = speye (10); -%! fn = @(x) A * x; +%! fn = @(x) AA * x; %! opts.issym = 1; opts.isreal = 1; %! assert (eigs (fn, 10, AA, 3, 'lm', opts), [1; 1; 1]); %!testif HAVE_ARPACK