Skip to content
Snippets Groups Projects
Commit 10f3d4d3 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Bug squished.

parent 9715e3ba
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,9 @@ foreach my $query (values(%hits)) {
$r2->start($pair[1]{$c . 'START'});
$r2->end($pair[1]{$c . 'END'});
$overlap += $r1->intersection($r2);
if ($r1->overlaps($r2)) {
$overlap += $r1->intersection($r2)->length;
}
}
# Calculate the query and target identities
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment