From 142a67fe82b830e5c7816914afa62445959c87ca Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@fe.uni-lj.si>
Date: Tue, 05 Nov 2013 14:04:21 +0000
Subject: [PATCH] changes in bondflip call. No need to bondflip all the bonds, but only as many bonds as there are vertices. Also, rnvec seems to be not needed for bondflip, so it is commented out

---
 src/general.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/general.h b/src/general.h
index 87c6174..f3328f6 100644
--- a/src/general.h
+++ b/src/general.h
@@ -169,6 +169,7 @@
 	ts_vertex *vtx2;
     ts_double bond_length;
     ts_double bond_length_dual;
+	ts_bool tainted;
 };
 typedef struct ts_bond ts_bond;
 
@@ -217,6 +218,8 @@
 typedef struct {
     ts_uint l;
     ts_double **ulm;
+    ts_double **sumUlm2;
+    ts_uint N;
     ts_double **co;
     ts_double ***Ylmi;
 } ts_spharm;

--
Gitblit v1.9.3