Ticket #2679: uniform_01.hpp.diff
File uniform_01.hpp.diff, 1.1 KB (added by , 14 years ago) |
---|
-
uniform_01.hpp
old new 39 39 BOOST_STATIC_ASSERT(!std::numeric_limits<RealType>::is_integer); 40 40 #endif 41 41 42 explicit uniform_01( base_type rng)42 explicit uniform_01(const base_type& rng) 43 43 : _rng(rng), 44 44 _factor(result_type(1) / 45 45 (result_type((_rng.max)()-(_rng.min)()) +