From 364c3073f652fbc02a9ddf051a381b3fd5ea48e4 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Tue, 08 Jul 2014 16:54:41 +0000
Subject: [PATCH] Fixed max occupancy error

---
 src/initial_distribution.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/initial_distribution.c b/src/initial_distribution.c
index bff9f05..35d533d 100644
--- a/src/initial_distribution.c
+++ b/src/initial_distribution.c
@@ -42,6 +42,7 @@
 	ts_vertex *vtx;
 
 	vesicle=initial_distribution_dipyramid(tape->nshell,tape->ncxmax,tape->ncymax,tape->nczmax,tape->stepsize);
+    vesicle->tape=tape;
 	// Nucleus:
 	vesicle->R_nucleus=tape->R_nucleus*tape->R_nucleus;
 

--
Gitblit v1.9.3