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

Floating point comparison == 1 changed to > 0.9999.

parent caee9d88
No related branches found
No related tags found
No related merge requests found
......@@ -239,7 +239,7 @@ sub map_stable_ids {
# Only add events when something changed.
if ( !( $s_obj->stable_id eq $t_obj->stable_id &&
$s_obj->version == $t_obj->version &&
$scores_by_target{$tid} == 1 ) )
$scores_by_target{$tid} > 0.9999 ) )
{
my $key = join( "\t",
$s_obj->stable_id, $s_obj->version,
......
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