Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Gorbushin <m.gorbushin@corp.mail.ru>2019-03-20 15:58:10 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2019-03-25 16:40:52 +0300
commit8ce28530301d6f891eef2ac948dabb09053f2a60 (patch)
treef8c991b3aa87582d8886f7f7b2b3dbae46826256 /routing
parentfae65e34ec50bfd86b2c852f26f084a1b29a4dd1 (diff)
[routing] Fix algo
Diffstat (limited to 'routing')
-rw-r--r--routing/index_graph_starter_joints.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/routing/index_graph_starter_joints.hpp b/routing/index_graph_starter_joints.hpp
index e4d3b38d66..d7b755e14a 100644
--- a/routing/index_graph_starter_joints.hpp
+++ b/routing/index_graph_starter_joints.hpp
@@ -182,6 +182,9 @@ void IndexGraphStarterJoints<Graph>::Init(Segment const & startSegment, Segment
m_startSegment = startSegment;
m_endSegment = endSegment;
+ m_startPoint = m_graph.GetPoint(m_startSegment, true /* front */);
+ m_endPoint = m_graph.GetPoint(m_endSegment, true /* front */);
+
if (IsRealSegment(startSegment))
m_startJoint = CreateInvisibleJoint(startSegment, true /* start */);
else