From c60a49ec71004bad2af9ca8b3240c035a7ab8d2a Mon Sep 17 00:00:00 2001
From: mihaf <miha.fosnaric@gmail.com>
Date: Tue, 03 Jun 2014 10:04:57 +0000
Subject: [PATCH] Added random seed.

---
 src/timestep.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/timestep.c b/src/timestep.c
index d4b13c3..f2fb478 100644
--- a/src/timestep.c
+++ b/src/timestep.c
@@ -38,7 +38,9 @@
 
 	}
 
-
+/* RANDOM SEED SET BY CURRENT TIME */
+	epochtime=get_epoch();			
+	srand48(epochtime);
 
 	centermass(vesicle);
 	cell_occupation(vesicle);

--
Gitblit v1.9.3