Mercurial > hg > octave-lyh
changeset 12938:70e9ffbc4c76 stable
svds.m: Revert cset 12934:5d79384e3a1d. Use 42 for random number initialization.
* svds.m: Use 42 for rand and randn initialization for tests.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Mon, 08 Aug 2011 21:30:36 -0700 |
parents | 5d79384e3a1d |
children | 9f2679a14366 9a498efac5f1 |
files | scripts/sparse/svds.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/sparse/svds.m +++ b/scripts/sparse/svds.m @@ -249,8 +249,8 @@ %! s = s(idx); %! u = u(:,idx); %! v = v(:,idx); -%! randn ('state', 43); % Initialize to make normest function reproducible -%! rand ('state', 43) +%! 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 %!test