2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-22 03:22:28 +00:00

Fix compilation errors from real_concept.

This commit is contained in:
jzmaddock
2014-10-27 17:50:11 +00:00
parent 0a932fa52b
commit 4e07c9bf74

View File

@@ -10,6 +10,8 @@
// Tests for the arcsine Distribution.
#include <pch.hpp> // 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 <boost/math/concepts/real_concept.hpp> // for real_concept.
using ::boost::math::concepts::real_concept;
#include <pch.hpp> // include directory /libs/math/src/tr1/ is needed.
#include <boost/math/distributions/arcsine.hpp> // 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<RealType> as_m2m1(-2, -1);
BOOST_CHECK_EQUAL(as_m2m1.x_min(), -2); //
BOOST_CHECK_EQUAL(as_m2m1.x_max(), -1);