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/main.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main.c b/src/main.c index e67764d..f300719 100644 --- a/src/main.c +++ b/src/main.c @@ -1,5 +1,6 @@ #include<stdio.h> #include<math.h> +#include<stdlib.h> #include "general.h" #include "vertex.h" #include "bond.h" @@ -51,7 +52,7 @@ vesicle->pressure=tape->pressure; vesicle->dmax=tape->dmax*tape->dmax; poly_assign_filament_xi(vesicle,tape); - tape_free(vesicle->tape); + free(vesicle->tape); vesicle->tape=tape; vesicle->clist->dmin_interspecies = tape->dmin_interspecies*tape->dmin_interspecies; /* spherical harmonics */ -- Gitblit v1.9.3