# HG changeset patch # User Rik # Date 1312864236 25200 # Node ID 70e9ffbc4c763574b60c8d145e8250e1966b5b84 # Parent 5d79384e3a1d7daa38c5020a64060e50e4eecaca svds.m: Revert cset 12934:5d79384e3a1d. Use 42 for random number initialization. * svds.m: Use 42 for rand and randn initialization for tests. diff --git a/scripts/sparse/svds.m b/scripts/sparse/svds.m --- 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