From b2fa8c6b55c420c079f285224f8d56ed03939767 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@fe.uni-lj.si>
Date: Tue, 29 Apr 2014 18:13:26 +0000
Subject: [PATCH] Bondflip doesnt segfaults anymore. Bondflip is disabled, debugging vertexmove

---
 src/constvol.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/constvol.h b/src/constvol.h
index 605daa1..5d1eb71 100644
--- a/src/constvol.h
+++ b/src/constvol.h
@@ -1,8 +1,8 @@
 #ifndef _H_CONSTVOL
 #define _H_CONSTVOL
 
-ts_bool constvolume(ts_vesicle *vesicle, ts_vertex *vtx_avoid, ts_double Vol, ts_double *retEnergy, ts_vertex *vtx_moved, ts_vertex *vtx_backup);
+ts_bool constvolume(ts_vesicle *vesicle, ts_vertex *vtx_avoid, ts_double Vol, ts_double *retEnergy, ts_vertex **vtx_moved_retval, ts_vertex **vtx_backup);
 ts_bool constvolConstraintCheck(ts_vesicle *vesicle, ts_vertex *vtx);
 ts_bool constvolumerestore(ts_vertex *vtx_moved, ts_vertex *vtx_backup);
-ts_bool constvolumeaccept(ts_vertex *vtx_moved, ts_vertex *vtx_backup);
+ts_bool constvolumeaccept(ts_vesicle *vesicle, ts_vertex *vtx_moved, ts_vertex *vtx_backup);
 #endif

--
Gitblit v1.9.3