]> git.pld-linux.org Git - packages/boost.git/blob - boost-1.54.0-math-unused_typedef-2.patch
- rel 3; bunch of upstream patches (taken and filtered by FC team)
[packages/boost.git] / boost-1.54.0-math-unused_typedef-2.patch
1 Index: boost/math/special_functions/airy.hpp
2 ===================================================================
3 --- boost/math/special_functions/airy.hpp       (revision 85073)
4 +++ boost/math/special_functions/airy.hpp       (working copy)
5 @@ -340,13 +340,6 @@
6  inline T airy_ai_zero(unsigned m, const Policy& pol)
7  {
8     BOOST_FPU_EXCEPTION_GUARD
9 -   typedef typename policies::evaluation<T, Policy>::type value_type;
10 -   typedef typename policies::normalise<
11 -      Policy, 
12 -      policies::promote_float<false>, 
13 -      policies::promote_double<false>, 
14 -      policies::discrete_quantile<>,
15 -      policies::assert_undefined<> >::type forwarding_policy;
16     BOOST_STATIC_ASSERT_MSG(false == std::numeric_limits<T>::is_integer, "Airy return type must be a floating-point type.");
17     return policies::checked_narrowing_cast<T, Policy>(detail::airy_ai_zero_imp<T>(m, pol), "boost::math::airy_ai_zero<%1%>(unsigned)");
18  }
19 @@ -388,13 +381,6 @@
20  inline T airy_bi_zero(unsigned m, const Policy& pol)
21  {
22     BOOST_FPU_EXCEPTION_GUARD
23 -   typedef typename policies::evaluation<T, Policy>::type value_type;
24 -   typedef typename policies::normalise<
25 -      Policy, 
26 -      policies::promote_float<false>, 
27 -      policies::promote_double<false>, 
28 -      policies::discrete_quantile<>,
29 -      policies::assert_undefined<> >::type forwarding_policy;
30     BOOST_STATIC_ASSERT_MSG(false == std::numeric_limits<T>::is_integer, "Airy return type must be a floating-point type.");
31     return policies::checked_narrowing_cast<T, Policy>(detail::airy_bi_zero_imp<T>(m, pol), "boost::math::airy_bi_zero<%1%>(unsigned)");
32  }
33 Index: boost/math/special_functions/beta.hpp
34 ===================================================================
35 --- boost/math/special_functions/beta.hpp       (revision 85073)
36 +++ boost/math/special_functions/beta.hpp       (working copy)
37 @@ -1331,7 +1331,6 @@
38     BOOST_FPU_EXCEPTION_GUARD
39     typedef typename tools::promote_args<RT1, RT2, RT3>::type result_type;
40     typedef typename policies::evaluation<result_type, Policy>::type value_type;
41 -   typedef typename lanczos::lanczos<value_type, Policy>::type evaluation_type;
42     typedef typename policies::normalise<
43        Policy, 
44        policies::promote_float<false>, 
45 @@ -1349,7 +1348,6 @@
46     BOOST_FPU_EXCEPTION_GUARD
47     typedef typename tools::promote_args<RT1, RT2, RT3>::type result_type;
48     typedef typename policies::evaluation<result_type, Policy>::type value_type;
49 -   typedef typename lanczos::lanczos<value_type, Policy>::type evaluation_type;
50     typedef typename policies::normalise<
51        Policy, 
52        policies::promote_float<false>, 
This page took 0.03893 seconds and 3 git commands to generate.