From f2b02fc54869539ae2f065b7e70f91b4f655a311 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 16 Dec 2021 21:31:52 +0100 Subject: tracker/pt: fix cosmetic warning --- tracker-pt/module/point_extractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-pt') 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; -- cgit v1.2.3