Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove all xbt_assert.*(0,FALSE or NULL for xbt_die
[simgrid.git] / src / surf / random_mgr.c
index cec30f9..4f48ae9 100644 (file)
@@ -197,6 +197,9 @@ static double custom_random(Generator generator, long int *seed)
     return drand48();
   case RAND:
     return (double) rand_r((unsigned int *) seed) / RAND_MAX;
+  case RNGSTREAM :
+         printf("Seen RNGSTREAM");
+         return 0.0;
   default:
     return drand48();
   }