From 384af9d04809481663a9fb350212b5e5880955aa Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Mon, 06 Jul 2020 12:13:19 +0000 Subject: [PATCH] Eigenvalues calculated wrongly --- 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