diff options
Diffstat (limited to 'boost/random/generate_canonical.hpp')
-rw-r--r-- | boost/random/generate_canonical.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/boost/random/generate_canonical.hpp b/boost/random/generate_canonical.hpp index 1bba44f0d2..23ff43dfac 100644 --- a/boost/random/generate_canonical.hpp +++ b/boost/random/generate_canonical.hpp @@ -7,7 +7,7 @@ * * See http://www.boost.org for most recent version including documentation. * - * $Id: generate_canonical.hpp 72951 2011-07-07 04:57:37Z steven_watanabe $ + * $Id$ * */ @@ -19,7 +19,6 @@ #include <boost/config/no_tr1/cmath.hpp> #include <boost/limits.hpp> #include <boost/type_traits/is_integral.hpp> -#include <boost/math/special_functions.hpp> #include <boost/random/detail/signed_unsigned_tools.hpp> #include <boost/random/detail/generator_bits.hpp> @@ -55,7 +54,6 @@ RealType generate_canonical_impl(URNG& g, boost::mpl::false_ /*is_integral*/) using std::floor; BOOST_ASSERT((g.min)() == 0); BOOST_ASSERT((g.max)() == 1); - typedef typename URNG::result_type base_result; std::size_t digits = std::numeric_limits<RealType>::digits; std::size_t engine_bits = detail::generator_bits<URNG>::value(); std::size_t b = (std::min)(bits, digits); |