summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-12-16 21:31:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2021-12-16 21:31:52 +0100
commitf2b02fc54869539ae2f065b7e70f91b4f655a311 (patch)
tree1bb22b5d78744fb39e6ed4587674985078b0f013 /tracker-pt
parent0cb32e69d3247bf8b38c2db91dfbac5791b806d5 (diff)
tracker/pt: fix cosmetic warning
Diffstat (limited to 'tracker-pt')
-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 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;