From 7d62fc765adc11bbcb7db0716ac5dc19145dca80 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sun, 15 Jun 2014 10:58:40 +0000 Subject: [PATCH] To be sure a fix in comparing the floating point numbers --- 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