From 6bf9d2bffcfd02467dc29bc70a427ffae2edac30 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Thu, 30 Oct 2014 11:46:05 +0000 Subject: [PATCH] [arcsine]Fix concept failures --- include/boost/math/distributions/arcsine.hpp | 8 ++++++-- include/boost/math/distributions/fwd.hpp | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/include/boost/math/distributions/arcsine.hpp b/include/boost/math/distributions/arcsine.hpp index e9a3d7254..fb8e36401 100644 --- a/include/boost/math/distributions/arcsine.hpp +++ b/include/boost/math/distributions/arcsine.hpp @@ -367,7 +367,9 @@ namespace boost template inline RealType quantile(const arcsine_distribution& dist, const RealType& p) - { // Quantile or Percent Point arcsine function or + { + BOOST_MATH_STD_USING + // Quantile or Percent Point arcsine function or // Inverse Cumulative probability distribution function CDF. // Return x (0 <= x <= 1), // for a given probability p (0 <= p <= 1). @@ -409,7 +411,9 @@ namespace boost template inline RealType quantile(const complemented2_type, RealType>& c) - { // Complement Quantile or Percent Point arcsine function. + { + BOOST_MATH_STD_USING + // Complement Quantile or Percent Point arcsine function. // Return the number of expected x for a given // complement of the probability q. diff --git a/include/boost/math/distributions/fwd.hpp b/include/boost/math/distributions/fwd.hpp index b45d51930..5b212c8ec 100644 --- a/include/boost/math/distributions/fwd.hpp +++ b/include/boost/math/distributions/fwd.hpp @@ -117,7 +117,7 @@ class weibull_distribution; }} // namespaces #define BOOST_MATH_DECLARE_DISTRIBUTIONS(Type, Policy)\ - typedef boost::math::arcsine_distribution bernoulli;\ + typedef boost::math::arcsine_distribution arcsine;\ typedef boost::math::bernoulli_distribution bernoulli;\ typedef boost::math::beta_distribution beta;\ typedef boost::math::binomial_distribution binomial;\