find_matches: don't create ridiculous accept paths

This commit is contained in:
Matthew Barr 2017-11-08 16:04:17 +11:00 committed by Xiang Wang
parent d926e56a48
commit 95c316afcc

View File

@ -301,7 +301,7 @@ struct GraphCache {
vertex_reports_by_level[d][v].insert(rs.begin(), rs.end());
}
if (edit_distance == 0) {
if (edit_distance == 0 || hamming) {
// if edit distance is 0, no predecessors will have reports
continue;
}