summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_tracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-pt/point_tracker.cpp')
-rw-r--r--tracker-pt/point_tracker.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp
index a1d27ede..e209938f 100644
--- a/tracker-pt/point_tracker.cpp
+++ b/tracker-pt/point_tracker.cpp
@@ -102,9 +102,7 @@ PointTracker::PointOrder PointTracker::find_correspondences_previous(const vec2*
constexpr unsigned sz = PointModel::N_POINTS;
// set correspondences by minimum distance to projected model point
- bool point_taken[sz];
- for (unsigned i=0; i < sz; ++i) // NOLINT(modernize-loop-convert)
- point_taken[i] = false;
+ bool point_taken[sz] {};
for (unsigned i=0; i < sz; ++i)
{