summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tracker-pt/point_tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp
index bc5bf3cd..e6cda11a 100644
--- a/tracker-pt/point_tracker.cpp
+++ b/tracker-pt/point_tracker.cpp
@@ -39,7 +39,7 @@ void PointModel::get_d_order(const std::vector<cv::Vec2d>& points, int* d_order,
// fit line to orthographically projected points
std::vector<std::pair<double,int>> d_vals;
// get sort indices with respect to d scalar product
- for (unsigned i = 0; i<points.size(); ++i)
+ for (unsigned i = 0; i < N_POINTS; ++i)
d_vals.push_back(std::pair<double, int>(d.dot(points[i]), i));
std::sort(d_vals.begin(),