Update engine_robust.cc
This commit is contained in:
parent
1c5167d96e
commit
fd2c57b8a4
@ -303,7 +303,8 @@ ShortestDist(const std::pair<bool, size_t> &node_value,
|
||||
res = dist_in[i].first; size = dist_in[i].second;
|
||||
}
|
||||
}
|
||||
return std::make_pair(res, size);
|
||||
// add one hop
|
||||
return std::make_pair(res + 1, size);
|
||||
}
|
||||
/*!
|
||||
* \brief message passing function, used to decide the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user