Changes to include POSE_Linear_rand and POSE_Uniform_rand
authorYogesh Mehta <ymehta@uiuc.edu>
Thu, 18 Nov 2004 20:51:09 +0000 (20:51 +0000)
committerYogesh Mehta <ymehta@uiuc.edu>
Thu, 18 Nov 2004 20:51:09 +0000 (20:51 +0000)
src/libs/ck-libs/pose/rep.C

index c4a62319da90ac79dca85f10c232c1ed46f6c06f..cc190479e0d3a8bf823de9d57ed29a0af89a84c2 100644 (file)
@@ -20,6 +20,9 @@ void rep::init(eventMsg *m) {
   myHandle = m->parent->thisIndex;
   anti_methods = 0;
   prand_seed = myHandle;
+  prand48_seed[0] = (unsigned short int)myHandle;
+  prand48_seed[1] = (unsigned short int)myHandle;
+  prand48_seed[2] = (unsigned short int)myHandle;
 }
 
 /// Timestamps event message, sets priority, and records in spawned list