1
0
Fork 0

Fix a bug in traverser.

This commit is contained in:
Max Neunhoeffer 2016-04-21 14:30:14 +02:00
parent 877e42e7c5
commit fa99e47129
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ static void AnyNeighbors(std::vector<EdgeCollectionInfo*>& collectionInfos,
if (visited.find(std::string(v, l)) == visited.end()) {
std::string tmp(v, l);
if (depth >= opts.minDepth) {
if (opts.matchesVertex(v)) {
if (opts.matchesVertex(tmp)) {
distinct.emplace_back(tmp);
}
}