diff options
author | tatiana-kondakova <tatiana.kondakova@gmail.com> | 2017-11-13 15:38:50 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2017-11-15 17:09:50 +0300 |
commit | 18bf84b87f95af7840373344e324720fa3b92ab1 (patch) | |
tree | 8a2e0b4cdb0251690da029be3ea32effb719fe08 /track_analyzing | |
parent | 1c3b74d654c5f2630c587180a18ed0614e801028 (diff) |
Read RoadAccess for proper vehicle type
Diffstat (limited to 'track_analyzing')
-rw-r--r-- | track_analyzing/track_matcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/track_analyzing/track_matcher.cpp b/track_analyzing/track_matcher.cpp index d862b9943c..4232ac6fa4 100644 --- a/track_analyzing/track_matcher.cpp +++ b/track_analyzing/track_matcher.cpp @@ -66,7 +66,7 @@ TrackMatcher::TrackMatcher(storage::Storage const & storage, NumMwmId mwmId, GeometryLoader::Create(m_index, handle, m_vehicleModel, false /* loadAltitudes */), EdgeEstimator::Create(VehicleType::Car, *m_vehicleModel, nullptr /* trafficStash */)); - DeserializeIndexGraph(*handle.GetValue<MwmValue>(), kCarMask, *m_graph); + DeserializeIndexGraph(*handle.GetValue<MwmValue>(), VehicleType::Car, *m_graph); } void TrackMatcher::MatchTrack(vector<DataPoint> const & track, vector<MatchedTrack> & matchedTracks) |