summaryrefslogtreecommitdiff
path: root/boost/math/distributions/binomial.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/math/distributions/binomial.hpp')
-rw-r--r--boost/math/distributions/binomial.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/math/distributions/binomial.hpp b/boost/math/distributions/binomial.hpp
index a48c89c5b9..620bf9b121 100644
--- a/boost/math/distributions/binomial.hpp
+++ b/boost/math/distributions/binomial.hpp
@@ -155,7 +155,7 @@ namespace boost
template <class RealType, class Policy>
inline bool check_dist_and_prob(const char* function, const RealType& N, RealType p, RealType prob, RealType* result, const Policy& pol)
{
- if(check_dist(function, N, p, result, pol) && detail::check_probability(function, prob, result, pol) == false)
+ if((check_dist(function, N, p, result, pol) && detail::check_probability(function, prob, result, pol)) == false)
return false;
return true;
}