From 41637ae4c538b5f11b41dacf6f941479e7a5ff00 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Fri, 06 Jun 2014 09:48:41 +0000 Subject: [PATCH] CV bug fix. Changes in constant volume: verifying the neightbour distances and removed preliminary contraints check. Seems to work now. --- src/vertexmove.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/vertexmove.c b/src/vertexmove.c index cecb73e..af578e2 100644 --- a/src/vertexmove.c +++ b/src/vertexmove.c @@ -150,7 +150,7 @@ //MONTE CARLOOOOOOOO if(delta_energy>=0){ #ifdef TS_DOUBLE_DOUBLE - if(exp(-delta_energy)< drand48() ) + if(exp(-delta_energy)< drand48()) #endif #ifdef TS_DOUBLE_FLOAT if(expf(-delta_energy)< (ts_float)drand48()) -- Gitblit v1.9.3