]>
Commit | Line | Data |
---|---|---|
647f39b2 AM |
1 | Index: boost/random/generate_canonical.hpp |
2 | =================================================================== | |
3 | --- boost/random/generate_canonical.hpp (revision 85073) | |
4 | +++ boost/random/generate_canonical.hpp (working copy) | |
5 | @@ -54,7 +54,6 @@ | |
6 | using std::floor; | |
7 | BOOST_ASSERT((g.min)() == 0); | |
8 | BOOST_ASSERT((g.max)() == 1); | |
9 | - typedef typename URNG::result_type base_result; | |
10 | std::size_t digits = std::numeric_limits<RealType>::digits; | |
11 | std::size_t engine_bits = detail::generator_bits<URNG>::value(); | |
12 | std::size_t b = (std::min)(bits, digits); | |
13 | Index: boost/random/uniform_real_distribution.hpp | |
14 | =================================================================== | |
15 | --- boost/random/uniform_real_distribution.hpp (revision 85073) | |
16 | +++ boost/random/uniform_real_distribution.hpp (working copy) | |
17 | @@ -36,7 +36,6 @@ | |
18 | { | |
19 | for(;;) { | |
20 | typedef T result_type; | |
21 | - typedef typename Engine::result_type base_result; | |
22 | result_type numerator = static_cast<T>(eng() - (eng.min)()); | |
23 | result_type divisor = static_cast<T>((eng.max)() - (eng.min)()); | |
24 | BOOST_ASSERT(divisor > 0); |