From 4e07c9bf7452326640e43c825b0967fa2d8b48e2 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 27 Oct 2014 17:50:11 +0000 Subject: [PATCH] Fix compilation errors from real_concept. --- test/test_arcsine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_arcsine.cpp b/test/test_arcsine.cpp index d084a1ab2..dced74d2d 100644 --- a/test/test_arcsine.cpp +++ b/test/test_arcsine.cpp @@ -10,6 +10,8 @@ // Tests for the arcsine Distribution. +#include // include directory /libs/math/src/tr1/ is needed. + #ifdef _MSC_VER # pragma warning(disable: 4127) // Conditional expression is constant. # pragma warning (disable : 4996) // POSIX name for this item is deprecated. @@ -19,8 +21,6 @@ #include // for real_concept. using ::boost::math::concepts::real_concept; -#include // include directory /libs/math/src/tr1/ is needed. - #include // for arcsine_distribution. using boost::math::arcsine_distribution; @@ -227,7 +227,7 @@ void test_spots(RealType) // Arcsine(-2, -1) xmin = -2, x_max = -1 - Asymmetric both negative. - arcsine_distribution<> as_m2m1(-2, -1); + arcsine_distribution as_m2m1(-2, -1); BOOST_CHECK_EQUAL(as_m2m1.x_min(), -2); // BOOST_CHECK_EQUAL(as_m2m1.x_max(), -1);