From f6bc99c334f6481e40f547d0e91f771b9564aa38 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Tue, 05 Jul 2016 10:09:08 +0000 Subject: [PATCH] Merge branch 'clustercount' into nirgov --- src/energy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/energy.c b/src/energy.c index cc5ccde..0e57e71 100644 --- a/src/energy.c +++ b/src/energy.c @@ -200,7 +200,7 @@ inline ts_bool attraction_bond_energy(ts_bond *bond, ts_double w){ if(fabs(bond->vtx1->c)>1e-16 && fabs(bond->vtx2->c)>1e-16){ - bond->energy=w; + bond->energy=-w; } else { bond->energy=0.0; -- Gitblit v1.9.3