changeset 15078:f0b04a20d7cf

initialize randn state in splinefit test * splinefit.m: Initialize randn state to make test reproducible.
author John W. Eaton <jwe@octave.org>
date Wed, 01 Aug 2012 12:10:26 -0400
parents 000587f92082
children fe4752f772e2
files scripts/polynomial/splinefit.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/polynomial/splinefit.m
+++ b/scripts/polynomial/splinefit.m
@@ -222,6 +222,7 @@
 endfunction
 
 %!shared xb, yb, x
+%! randn ("state", 13);
 %! xb = 0:2:10;
 %! yb = randn (size (xb));
 %! x = 0:0.1:10;