aboutsummaryrefslogtreecommitdiff
path: root/src/math_util.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/math_util.hpp')
-rw-r--r--src/math_util.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math_util.hpp b/src/math_util.hpp
index b9830d6b..8f0741b8 100644
--- a/src/math_util.hpp
+++ b/src/math_util.hpp
@@ -9,7 +9,7 @@
namespace cru
{
- template <typename T, typename = std::enable_if_t<std::is_arithmetic_v<T>>>
+ template <typename T, typename = std::enable_if_t<std::is_arithmetic_v<T>>>
float Coerce(const T n, const std::optional<T> min, const std::optional<T> max)
{
if (min.has_value() && n < min.value())