summaryrefslogtreecommitdiff
path: root/src/common/Utilities/MathUtil.h
diff options
context:
space:
mode:
authorFrancesco Borzì <borzifrancesco@gmail.com>2024-07-31 01:06:46 +0200
committerGitHub <noreply@github.com>2024-07-30 20:06:46 -0300
commit02a05fbd4c640b33b1e03075681f169db2fb6ab2 (patch)
treecfe8879750af8cd87d3ebbea244dd88c52e47275 /src/common/Utilities/MathUtil.h
parent06a608d244cf24d5077cbcdf547993d2a0e30659 (diff)
refactor(src/common): remove unused imports (#19506)
* refactor(src/common): remove unused imports * fix: build * chore: fix build * chore: size_t -> std::size_t * chore: fix fuckup from previous commit * chore: fix build * chore: fix build * chore: fix build * chore: fix build with std::size_t * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build
Diffstat (limited to 'src/common/Utilities/MathUtil.h')
-rw-r--r--src/common/Utilities/MathUtil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Utilities/MathUtil.h b/src/common/Utilities/MathUtil.h
index fad8317c30..f1df43e7db 100644
--- a/src/common/Utilities/MathUtil.h
+++ b/src/common/Utilities/MathUtil.h
@@ -58,7 +58,7 @@ inline T mean(Container&& c)
template <typename T>
inline T median(std::vector<T> a)
{
- size_t n = a.size();
+ std::size_t n = a.size();
// If size of the arr[] is even
if (n % 2 == 0)
{