change distance type to EdgeDistance in many_to_many_mld.cpp
This commit is contained in:
parent
7ac5ad2a14
commit
c290315b77
@ -264,7 +264,7 @@ oneToManySearch(SearchEngineData<Algorithm> &engine_working_data,
|
|||||||
std::size_t index;
|
std::size_t index;
|
||||||
EdgeWeight target_weight;
|
EdgeWeight target_weight;
|
||||||
EdgeDuration target_duration;
|
EdgeDuration target_duration;
|
||||||
EdgeDuration target_distance;
|
EdgeDistance target_distance;
|
||||||
std::tie(index, target_weight, target_duration, target_distance) = it->second;
|
std::tie(index, target_weight, target_duration, target_distance) = it->second;
|
||||||
|
|
||||||
const auto path_weight = weight + target_weight;
|
const auto path_weight = weight + target_weight;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user