mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 11:16:29 +03:00
find_matches: don't create ridiculous accept paths
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user