From 41a0355002fda513dbf8d878b6793e1f21a20ef1 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Thu, 23 Feb 2012 14:37:22 +0000
Subject: [PATCH] triangle data removed

---
 src/energy.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/energy.c b/src/energy.c
index 4f37474..97e7315 100644
--- a/src/energy.c
+++ b/src/energy.c
@@ -89,9 +89,9 @@
         xh+=tot*(j->data->x - data->x);
         yh+=tot*(j->data->y - data->y);
         zh+=tot*(j->data->z - data->z);
-        txn+=jt->data->xnorm;
-        tyn+=jt->data->ynorm;
-        tzn+=jt->data->znorm;
+        txn+=jt->xnorm;
+        tyn+=jt->ynorm;
+        tzn+=jt->znorm;
     }
     
     h=xh*xh+yh*yh+zh*zh;

--
Gitblit v1.9.3