diff -r 46b19589b593 scripts/sparse/svds.m --- a/scripts/sparse/svds.m Mon Jul 30 15:29:19 2012 -0700 +++ b/scripts/sparse/svds.m Tue Jul 31 10:46:19 2012 -0700 @@ -254,10 +254,10 @@ %! v = v(:, idx); %! randn_state = randn ("state"); %! rand_state = rand ("state"); -%! randn ("state", 42); % Initialize to make normest function reproducible -%! rand ("state", 42); -%! opts.v0 = rand (2*n,1); % Initialize eigs ARPACK starting vector -%! % to guarantee reproducible results +%! randn ("state", 42); % Initialize to make normest function reproducible +%! rand ("state", 42); % Initialize to make other svds aspects reproducible +%! opts.v0 = repmat (0.5, [2*n, 1]); % Initialize eigs ARPACK starting vector +%! % to guarantee reproducible results %! %!testif HAVE_ARPACK %! [u2,s2,v2,flag] = svds (A,k);