From adb13928391c2af2bc9f1e7a58cabd93a3112684 Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Wed, 31 Jan 2018 21:34:10 +0100 Subject: [PATCH] renamed formal parameters of LIM from (a, b, c) to (val, low, high) --- rtengine/rt_math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtengine/rt_math.h b/rtengine/rt_math.h index 787e2e63f..ca93619ee 100644 --- a/rtengine/rt_math.h +++ b/rtengine/rt_math.h @@ -74,9 +74,9 @@ constexpr const T& max(const T& a, const T& b, const ARGS&... args) } template -constexpr const T& LIM(const T& a, const T& b, const T& c) +constexpr const T& LIM(const T& val, const T& low, const T& high) { - return max(b, min(a, c)); + return max(low, min(val, high)); } template