Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Dec 15, 2024
1 parent c084f56 commit 15ea363
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pairwise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ pub fn pairwise(
let containment_adjusted_log10 = None;
let tf_idf_score = None;

if containment_q1_in_q2 > threshold || containment_q2_in_q1 > threshold || output_all_comparisons {
if containment_q1_in_q2 > threshold
|| containment_q2_in_q1 > threshold
|| output_all_comparisons
{
let max_containment = containment_q1_in_q2.max(containment_q2_in_q1);
let jaccard = overlap / (query1_size + query2_size - overlap);
let mut query_containment_ani = None;
Expand Down

0 comments on commit 15ea363

Please sign in to comment.