Kaydet (Commit) 10536881 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin outdated patch

We use gcc 4.8 for Android now.

Change-Id: I607499c9a61529349d2c3154593b2edf48eccb7e
üst f0a26668
......@@ -65,8 +65,6 @@ boost_patches += boost.ptr_container.Wextra.warnings.patch
boost_patches += boost.ptr_container.Wunused-parameter.warnings.patch
# https://svn.boost.org/trac/boost/ticket/9898
boost_patches += boost.random.Wshadow.warnings.patch
# https://svn.boost.org/trac/boost/ticket/9899
boost_patches += boost.random.Wuninitialized.patch
# fixed upstream
boost_patches += boost.random.Wunused-local-typedefs.warnings.patch
# https://svn.boost.org/trac/boost/ticket/9900
......
--- foo/foo/foo/boost/random/binomial_distribution.hpp
+++ foo/foo/foo/boost/random/binomial_distribution.hpp
@@ -278,6 +278,7 @@
m = static_cast<IntType>((t_lcl+1)*p_lcl);
if(use_inversion()) {
+ btrd.r = btrd.nr = btrd.npq = btrd.b = btrd.a = btrd.c = btrd.alpha = btrd.v_r = btrd.u_rv_r = 0;
q_n = pow((1 - p_lcl), static_cast<RealType>(t_lcl));
} else {
btrd.r = p_lcl/(1-p_lcl);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment