Trisurf Monte Carlo simulator
Samo Penic
2014-05-06 7d5e22d9eda3020e8b2b3fd8a70f25306561b401
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())