Skip to content

Commit

Permalink
seems like abund * abund overestimates less
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Apr 22, 2021
1 parent 08601ab commit cf61c97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/src/sketch/nodegraph.rs
Expand Up @@ -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;
}
Expand Down

0 comments on commit cf61c97

Please sign in to comment.