mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
find_matches: don't create ridiculous accept paths
This commit is contained in:
parent
d926e56a48
commit
95c316afcc
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user