summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/module/point_extractor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-pt/module/point_extractor.cpp')
-rw-r--r--tracker-pt/module/point_extractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/module/point_extractor.cpp b/tracker-pt/module/point_extractor.cpp
index 6f42bb4e..e679e7fc 100644
--- a/tracker-pt/module/point_extractor.cpp
+++ b/tracker-pt/module/point_extractor.cpp
@@ -337,7 +337,7 @@ void PointExtractor::extract_points(const pt_frame& frame_,
}
}
- const f radius = std::sqrt(cnt / pi);
+ const f radius = (f)(std::sqrt(cnt) / std::sqrt(pi));
if (radius > region_size_max || radius < region_size_min)
continue;