diff --git a/sprout/random/generate_canonical.hpp b/sprout/random/generate_canonical.hpp index 05317366..f1ed7305 100644 --- a/sprout/random/generate_canonical.hpp +++ b/sprout/random/generate_canonical.hpp @@ -132,7 +132,6 @@ namespace sprout { template inline SPROUT_CONSTEXPR sprout::pair const generate_canonical_impl_0_1(RealType r, RealType limit, RealType s, RealType mult, Random const& rnd) { - typedef typename URNG::result_type base_result; typedef sprout::pair const pair_type; return mult * r < limit ? sprout::random::detail::generate_canonical_impl_0_1( r, limit, @@ -149,7 +148,6 @@ namespace sprout { template inline SPROUT_CONSTEXPR sprout::pair const generate_canonical_impl_0_0(RealType r, RealType limit, Random const& rnd) { - typedef typename URNG::result_type base_result; typedef sprout::pair const pair_type; return r < limit ? sprout::random::detail::generate_canonical_impl_0_1( r, limit, diff --git a/sprout/random/seed_array.hpp b/sprout/random/seed_array.hpp index 43b4e7d4..e2a81e37 100644 --- a/sprout/random/seed_array.hpp +++ b/sprout/random/seed_array.hpp @@ -209,7 +209,7 @@ namespace sprout { template SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm::type gen1_0( Result const& result, - size_type n, size_type s, size_type m, size_type t, size_type p, size_type q + size_type n, size_type s, size_type p, size_type q ) const { return set1( @@ -229,7 +229,7 @@ namespace sprout { gen1_1( gen1_0( result, - n, s, m, t, p, q + n, s, p, q ), n, s, m, t, p, q, 1