From aafd67f2d592799167864698ea07eb8aadcc86a7 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Wed, 25 May 2016 18:37:21 +0000
Subject: [PATCH] Merge branch 'master' of bitbucket.org:samop/trisurf-ng with work done on removing the memory leaks.

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

diff --git a/src/initial_distribution.c b/src/initial_distribution.c
index 4c82b35..ae7de0b 100644
--- a/src/initial_distribution.c
+++ b/src/initial_distribution.c
@@ -52,7 +52,9 @@
 	ts_vertex *vtx;
 	ts_tape *tape=vesicle->tape;
 	vesicle->R_nucleus=tape->R_nucleus*tape->R_nucleus;
-
+	vesicle->R_nucleusX=tape->R_nucleusX*tape->R_nucleusX;
+	vesicle->R_nucleusY=tape->R_nucleusY*tape->R_nucleusY;
+	vesicle->R_nucleusZ=tape->R_nucleusZ*tape->R_nucleusZ;
 	vesicle->clist->dmin_interspecies = tape->dmin_interspecies*tape->dmin_interspecies;
 
 	//Initialize grafted polymers (brush):

--
Gitblit v1.9.3