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/vertexmove.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/vertexmove.c b/src/vertexmove.c index 83b28cd..9f263c8 100644 --- a/src/vertexmove.c +++ b/src/vertexmove.c @@ -119,7 +119,7 @@ }; if(vesicle->tape->constvolswitch == 1){ - retval=constvolume(vesicle, vtx, -dvol, &delta_energy_cv, &constvol_vtx_moved,&constvol_vtx_backup); + retval=constvolume(vesicle, vtx, dvol, &delta_energy_cv, &constvol_vtx_moved,&constvol_vtx_backup); if(retval==TS_FAIL){ // if we couldn't move the vertex to assure constant volume vtx=memcpy((void *)vtx,(void *)&backupvtx[0],sizeof(ts_vertex)); for(i=0;i<vtx->neigh_no;i++){ -- Gitblit v1.9.3