changeset 303:9f9b8b5f35f2

Whoops. My fault: time() takes an argument.
author mas01cr
date Mon, 04 Aug 2008 10:01:47 +0000
parents 74824093c1c4
children 2d6efbe56bb8
files tests/pointset_test/genpoints2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/pointset_test/genpoints2.c	Mon Aug 04 10:00:34 2008 +0000
+++ b/tests/pointset_test/genpoints2.c	Mon Aug 04 10:01:47 2008 +0000
@@ -23,7 +23,7 @@
   // Generate *count* Gaussian Random vectors in R^*dim*
   // sitting on the *rdashed*-sphere
 
-  srandom(time());
+  srandom(time(NULL));
 
   int i,j;
   for (i = 0; i < count + 1; i++) {