mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
fix: remove warnings
This commit is contained in:
parent
1b09c5a672
commit
f5e00839c1
2 changed files with 2 additions and 4 deletions
|
@ -132,7 +132,6 @@ namespace sprout {
|
|||
template<typename RealType, std::size_t bits, typename URNG, typename Random>
|
||||
inline SPROUT_CONSTEXPR sprout::pair<RealType, URNG> 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<RealType, URNG> const pair_type;
|
||||
return mult * r < limit ? sprout::random::detail::generate_canonical_impl_0_1<RealType, bits, URNG>(
|
||||
r, limit,
|
||||
|
@ -149,7 +148,6 @@ namespace sprout {
|
|||
template<typename RealType, std::size_t bits, typename URNG, typename Random>
|
||||
inline SPROUT_CONSTEXPR sprout::pair<RealType, URNG> const
|
||||
generate_canonical_impl_0_0(RealType r, RealType limit, Random const& rnd) {
|
||||
typedef typename URNG::result_type base_result;
|
||||
typedef sprout::pair<RealType, URNG> const pair_type;
|
||||
return r < limit ? sprout::random::detail::generate_canonical_impl_0_1<RealType, bits, URNG>(
|
||||
r, limit,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue