diff options
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/module/point_extractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/module/point_extractor.cpp b/tracker-pt/module/point_extractor.cpp index 42aafba6..71586eb1 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 = (f)(std::sqrt(cnt) / std::sqrt(pi)); + const f radius = std::sqrt((f)cnt) / std::sqrt(pi); if (radius > region_size_max || radius < region_size_min) continue; |