Opened 3 years ago

Closed 3 years ago

Last modified 3 years 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:
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 (3)

comment:1 Changed 3 years 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 3 years 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.

comment:3 Changed 3 years ago by Peter

Milestone: yat 0.18
Note: See TracTickets for help on using tickets.