Skip to content

Commit

Permalink
Fix false positives about matches
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Aug 1, 2024
1 parent ff24efd commit 63da07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,7 @@ sub print_person
warn 'Potential match: ', $person->as_string($string_args), "/$yob/$year/", $possible->as_string($string_args);
} elsif(my $pdod = dateofdeath($possible)) {
my $year = get_year_from_date($pdod);
next if(($yob - $year) > 2); # Born more than two years after the possible match died
next if(abs($yob - $year) > 2); # Born more than two years after the possible match died
die 'TODO: Potential match: ', $person->as_string($string_args), '/', $possible->as_string($string_args);
}
} elsif($yod) {
Expand Down

0 comments on commit 63da07d

Please sign in to comment.