From d5d78a49c6b51fb1f6f0661d063034eaf65e02f7 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Wed, 25 Sep 2019 09:20:36 +0000
Subject: [PATCH] Constant volume and constant area fix. Removed spherical harmonics calculations in simulations. No ulm2.cvs and state.dat files are produced anymore

---
 src/cluster.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cluster.c b/src/cluster.c
index bb431f2..85907f9 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -102,7 +102,7 @@
 
 /* This is a stub function. User should check whether the vertex is clustering or not. */
 ts_bool is_clusterable(ts_vertex *vtx){
-	if(fabs(vtx->c)>1e-6){
+	if(fabs(vtx->c)>1e-15){
 		return 1;
 	}
 	else {

--
Gitblit v1.9.3