wip
This commit is contained in:
parent
8b34d5b40c
commit
3eaa676626
@ -741,8 +741,11 @@ double getNetworkDistance(SearchEngineData<Algorithm> &engine_working_data,
|
||||
if (const auto node =
|
||||
forward_heap.GetHeapNodeIfWasInserted(target_phantom.forward_segment_id.id))
|
||||
{
|
||||
if (node->weight < weight_upper_bound) {
|
||||
return from_alias<double>(node->data.distance);
|
||||
}
|
||||
return std::numeric_limits<double>::max();
|
||||
}
|
||||
}
|
||||
// if (target_phantom.IsValidReverseTarget()) {
|
||||
// if (const auto node =
|
||||
|
Loading…
Reference in New Issue
Block a user