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