renamed formal parameters of LIM from (a, b, c) to (val, low, high)

This commit is contained in:
Alberto Griggio
2018-01-31 21:34:10 +01:00
parent 7dd598d9b7
commit adb1392839

View File

@@ -74,9 +74,9 @@ constexpr const T& max(const T& a, const T& b, const ARGS&... args)
}
template<typename T>
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<typename T>