mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Keep examples clean, disable build for VxWorks
This commit is contained in:
@@ -91,7 +91,7 @@ test-suite examples :
|
||||
[ run normal_misc_examples.cpp : : : <exception-handling>off:<build>no ]
|
||||
[ run owens_t_example.cpp ]
|
||||
[ run policy_eg_1.cpp ]
|
||||
[ run policy_eg_10.cpp ]
|
||||
[ run policy_eg_10.cpp : : : <target-os>vxworks:<build>no ] # VxWorks' complex.h has conflicting declaration of real
|
||||
[ run policy_eg_2.cpp ]
|
||||
[ run policy_eg_3.cpp ]
|
||||
[ run policy_eg_4.cpp ]
|
||||
@@ -108,7 +108,7 @@ test-suite examples :
|
||||
[ run policy_ref_snip2.cpp ]
|
||||
[ run policy_ref_snip3.cpp : : : <exception-handling>off:<build>no ]
|
||||
[ run policy_ref_snip4.cpp ]
|
||||
[ run policy_ref_snip5.cpp ]
|
||||
[ run policy_ref_snip5.cpp : : : <target-os>vxworks:<build>no ]
|
||||
[ run policy_ref_snip6.cpp ]
|
||||
[ run policy_ref_snip7.cpp ]
|
||||
[ run policy_ref_snip8.cpp ]
|
||||
|
||||
@@ -50,6 +50,7 @@ using boost::math::policies::integer_round_down;
|
||||
using boost::math::policies::integer_round_up;
|
||||
using boost::math::policies::integer_round_nearest;
|
||||
using boost::math::policies::integer_round_inwards;
|
||||
using boost::math::policies::real;
|
||||
|
||||
using boost::math::binomial_distribution; // Not std::binomial_distribution.
|
||||
|
||||
@@ -80,7 +81,7 @@ typedef binomial_distribution<
|
||||
|
||||
typedef binomial_distribution<
|
||||
double,
|
||||
policy<discrete_quantile<boost::math::policies::real> > >
|
||||
policy<discrete_quantile<real> > >
|
||||
binom_real_quantile;
|
||||
|
||||
/*`
|
||||
|
||||
@@ -16,7 +16,7 @@ using namespace boost::math::policies;
|
||||
|
||||
typedef negative_binomial_distribution<
|
||||
double,
|
||||
policy<discrete_quantile<boost::math::policies::real> >
|
||||
policy<discrete_quantile<real> >
|
||||
> dist_type;
|
||||
|
||||
// Lower 5% quantile:
|
||||
|
||||
Reference in New Issue
Block a user