fix compilation of tests
This commit is contained in:
parent
6e1ab9fe3a
commit
4dd0377eb8
@ -59,7 +59,8 @@ void DescriptionFactory::SetEndSegment(const PhantomNode &target,
|
|||||||
target_phantom = target;
|
target_phantom = target;
|
||||||
const EdgeWeight segment_duration =
|
const EdgeWeight segment_duration =
|
||||||
(traversed_in_reverse ? target.reverse_weight : target.forward_weight);
|
(traversed_in_reverse ? target.reverse_weight : target.forward_weight);
|
||||||
<<<<<<< HEAD
|
const TravelMode travel_mode =
|
||||||
|
(traversed_in_reverse ? target.backward_travel_mode : target.travel_mode);
|
||||||
path_description.emplace_back(target.location,
|
path_description.emplace_back(target.location,
|
||||||
target.name_id,
|
target.name_id,
|
||||||
segment_duration,
|
segment_duration,
|
||||||
|
@ -109,7 +109,9 @@ class LinearSearchNN
|
|||||||
e.reverse_offset,
|
e.reverse_offset,
|
||||||
e.packed_geometry_id,
|
e.packed_geometry_id,
|
||||||
nearest,
|
nearest,
|
||||||
e.fwd_segment_position};
|
e.fwd_segment_position,
|
||||||
|
e.travel_mode,
|
||||||
|
e.backward_travel_mode};
|
||||||
nearest_edge = e;
|
nearest_edge = e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user