From 8a1d07d4d7ae182b562e11f2d22e15af038003ba Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Thu, 27 Jun 2024 09:39:26 -0400 Subject: [PATCH] Update src/Plugins/OrientationAnalysis/src/OrientationAnalysis/utilities/IntersectionUtilities.hpp Co-authored-by: Jared Duffey --- .../src/OrientationAnalysis/utilities/IntersectionUtilities.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/utilities/IntersectionUtilities.hpp b/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/utilities/IntersectionUtilities.hpp index e6dcce33c7..2ae27de9db 100644 --- a/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/utilities/IntersectionUtilities.hpp +++ b/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/utilities/IntersectionUtilities.hpp @@ -23,7 +23,7 @@ inline float deg2rad(float deg) return deg * nx::core::Constants::k_PiOver180; } -inline float clamp(const float& lo, const float& hi, const float& v) +inline float clamp(float lo, float hi, float v) { return std::max(lo, std::min(hi, v)); }