diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-06 11:57:24 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-06 11:57:24 +0100 |
commit | 95a89f6fbbb83dd3f35c158d554081a9f2a34f1a (patch) | |
tree | 9e97e0d7920b6037910d13106db226d1ac22764c | |
parent | 745feda3d244eeb4a5ec7575489eff72f76b42f3 (diff) |
tracker/pt: fix crash on many points
-rw-r--r-- | tracker-pt/point_tracker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp index 31f02570..74f840d8 100644 --- a/tracker-pt/point_tracker.cpp +++ b/tracker-pt/point_tracker.cpp @@ -46,7 +46,7 @@ void PointModel::get_d_order(const std::vector<cv::Vec2d>& points, int* d_order, d_vals_sort ); - for (unsigned i = 0; i<points.size(); ++i) + for (unsigned i = 0; i<N_POINTS; ++i) d_order[i] = d_vals[i].second; } |