2
0
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:
Brian Kuhl
2018-06-25 20:06:48 -04:00
parent bb6bdc4c61
commit 70612cd472
3 changed files with 5 additions and 4 deletions

View File

@@ -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 ]

View File

@@ -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;
/*`

View File

@@ -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: