From 95c316afcc0636cd0526b2ab17d497429f14ec84 Mon Sep 17 00:00:00 2001 From: Matthew Barr Date: Wed, 8 Nov 2017 16:04:17 +1100 Subject: [PATCH] find_matches: don't create ridiculous accept paths --- util/ng_find_matches.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/ng_find_matches.cpp b/util/ng_find_matches.cpp index 9cbc955a..c406ee95 100644 --- a/util/ng_find_matches.cpp +++ b/util/ng_find_matches.cpp @@ -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; }