diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-16 21:31:52 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-16 21:31:52 +0100 |
commit | f2b02fc54869539ae2f065b7e70f91b4f655a311 (patch) | |
tree | 1bb22b5d78744fb39e6ed4587674985078b0f013 | |
parent | 0cb32e69d3247bf8b38c2db91dfbac5791b806d5 (diff) |
tracker/pt: fix cosmetic warning
-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; |