Opened 5 weeks ago

Closed 5 weeks ago

Last modified 2 weeks ago

#944 closed defect (fixed)

missing boost header <boost/random/non_central_chi_squared_distribution.hpp>

Reported by: Peter Owned by: Jari Häkkinen
Priority: major Milestone: yat 0.18
Component: test Version: trunk
Keywords: Cc:

Description

The header file is available in boost-1.59 but missing in boost-1.55.

We only use this header to typedef

typedef
ContinuousDistribution<boost::random::non_central_chi_squared_distribution<> >
NonCentralChiSquared;

so a sensible solution seems to to exclude this typedef when header is not available.

Change History (2)

comment:1 Changed 5 weeks ago by Peter

Resolution: fixed
Status: newclosed

In 3900:

closes #944; add configure check whether class is availabale in boost and exclude typedef if not. Lift out test for that typedef to separate test so it can be skipped (without skipping all sister tests) when boost is old.

comment:2 Changed 2 weeks ago by Peter

In 3912:

boost random classes beta_distribution, hyperexponential_distribution
and laplace_distribution are not available with boost 1.53. Similar to
non_central_chi_squared (refs #944) these classes are only used in a
typedef, so we exclude these typedefs when the classes were not found
in configure. Lifting out tests of these classes to their own tests,
so these tests can return SKIP.

Note: See TracTickets for help on using tickets.