diff --git a/sprout/math/factorial.hpp b/sprout/math/factorial.hpp index 322a7ae6..6cba986e 100644 --- a/sprout/math/factorial.hpp +++ b/sprout/math/factorial.hpp @@ -782,8 +782,7 @@ namespace sprout { // template::value>::type> inline SPROUT_CONSTEXPR T factorial(std::size_t x) { - typedef typename std::remove_cv::type type; - return SPROUT_ASSERT(x <= sprout::math::factorial_limit()), + return SPROUT_ASSERT(x <= sprout::math::factorial_limit::type>()), sprout::math::unchecked_factorial(x) ; }