changeset 12083:2dbd6188b789 release-3-2-x

Minor typo in new eigs.cc test
author David Bateman <dbateman@free.fr>
date Thu, 03 Sep 2009 11:44:07 +0200
parents 92b5580c0145
children bd994ce20158
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