changeset 11801:8d0f0e691644 release-3-0-x

fix failing test for randp
author Tatsuro MATSUOKA <tmacchant@yahoo.co.jp>
date Fri, 08 Aug 2008 09:47:57 +0200
parents a0d567862eb8
children b7f2ab4e34b0
files src/ChangeLog src/DLD-FUNCTIONS/rand.cc
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-08  Tatsuro MATSUOKA  <tmacchant@yahoo.co.jp>
+
+	* A patch fntests for rand.cc for octave for windows (cygwin, mingw ,msvc)
+
 2008-08-01  Francesco Potorti <Potorti@isti.cnr.it>
 
 	* graphics.cc (axes::properties::properties,
--- a/src/DLD-FUNCTIONS/rand.cc
+++ b/src/DLD-FUNCTIONS/rand.cc
@@ -950,7 +950,7 @@
 %!test
 %! % Test fixed state
 %! randp("seed",1);
-%! assert(randp(1e9,1,6),[1000006208 1000012224 999981120 999963520 999963072 999981440])
+%! assert(randp(1e9,1,6),[1000006208 1000012224 999981120 999963520 999963072 999981440]],1e-6))
 %!test
 %! if (__random_statistical_tests__)
 %!   % statistical tests may fail occasionally.