# HG changeset patch # User David Bateman # Date 1251971047 -7200 # Node ID 2dbd6188b7897645a75066c238682c3a5f84b4ee # Parent 92b5580c014514034586d4a7eac69e94b406084d Minor typo in new eigs.cc test diff --git a/src/DLD-FUNCTIONS/eigs.cc b/src/DLD-FUNCTIONS/eigs.cc --- 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