summaryrefslogtreecommitdiff
path: root/boost/random/generate_canonical.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/random/generate_canonical.hpp')
-rw-r--r--boost/random/generate_canonical.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/random/generate_canonical.hpp b/boost/random/generate_canonical.hpp
index d8ff144d6c..112784742b 100644
--- a/boost/random/generate_canonical.hpp
+++ b/boost/random/generate_canonical.hpp
@@ -80,7 +80,7 @@ template<class RealType, std::size_t bits, class URNG>
RealType generate_canonical(URNG& g)
{
RealType result = detail::generate_canonical_impl<RealType, bits>(
- g, boost::is_integral<typename URNG::result_type>());
+ g, boost::random::traits::is_integral<typename URNG::result_type>());
BOOST_ASSERT(result >= 0);
BOOST_ASSERT(result <= 1);
if(result == 1) {