diff --git a/include/boost/math/tools/random_vector.hpp b/include/boost/math/tools/random_vector.hpp index 70f13567bd..d2d6b4fe3b 100644 --- a/include/boost/math/tools/random_vector.hpp +++ b/include/boost/math/tools/random_vector.hpp @@ -15,7 +15,7 @@ namespace boost { namespace math { static constexpr std::size_t global_seed = 0; static constexpr std::size_t global_size = 128; -template::value, bool>::type = true> +template, bool>::type = true> std::vector generate_random_vector(std::size_t size, std::size_t seed) { if (seed == 0) @@ -35,7 +35,7 @@ std::vector generate_random_vector(std::size_t size, std::size_t seed) return v; } -template::value, bool>::type = true> +template, bool>::type = true> std::vector generate_random_uniform_vector(std::size_t size, std::size_t seed, T lower_bound = T(0), T upper_bound = T(1)) { if (seed == 0) @@ -57,7 +57,7 @@ std::vector generate_random_uniform_vector(std::size_t size, std::size_t seed return v; } -template::value, bool>::type = true> +template, bool>::type = true> std::vector generate_random_vector(std::size_t size, std::size_t seed, T mean, T stddev) { if (seed == 0)