From cf61c973386f158b65dcffd9953b86a43cf6f836 Mon Sep 17 00:00:00 2001 From: Luiz Irber Date: Sat, 17 Apr 2021 19:09:52 -0700 Subject: [PATCH] seems like abund * abund overestimates less --- src/core/src/sketch/nodegraph.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/src/sketch/nodegraph.rs b/src/core/src/sketch/nodegraph.rs index 20d58bfe2..1b859fcc3 100644 --- a/src/core/src/sketch/nodegraph.rs +++ b/src/core/src/sketch/nodegraph.rs @@ -174,8 +174,8 @@ impl Nodegraph { for (hash, abund) in other_abunds { if self.get(hash) == 1 { // TODO: which one overestimate less? - // a_sq += abund * abund; - a_sq += 1; + a_sq += abund * abund; + //a_sq += 1; prod += abund * abund; }