Skip to content

Commit

Permalink
allow output of dist > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Ondov committed Jul 12, 2018
1 parent aabd592 commit aa809ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mash/CommandDistance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ void compareSketches(CommandDistance::CompareOutput::PairOutput * output, const
distance = -log(2 * jaccard / (1. + jaccard)) / kmerSize;
}

if ( distance > maxDistance )
if ( distance > maxDistance && maxDistance < 1. )
{
return;
}
Expand Down

0 comments on commit aa809ba

Please sign in to comment.