]>
Commit | Line | Data |
---|---|---|
b32b8144 FG |
1 | // Copyright Nick Thompson 2017. |
2 | // Use, modification and distribution are subject to the | |
3 | // Boost Software License, Version 1.0. (See accompanying file | |
4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
5 | // | |
1e59de90 TL |
6 | |
7 | #ifndef BOOST_MATH_STANDALONE | |
8 | ||
b32b8144 FG |
9 | #include <boost/math/concepts/std_real_concept.hpp> |
10 | #include <boost/math/quadrature/trapezoidal.hpp> | |
11 | ||
b32b8144 FG |
12 | boost::math::concepts::std_real_concept func(boost::math::concepts::std_real_concept x) |
13 | { | |
14 | return x; | |
15 | } | |
16 | ||
17 | void compile_and_link_test() | |
18 | { | |
19 | boost::math::concepts::std_real_concept a = 0; | |
20 | boost::math::concepts::std_real_concept b = 1; | |
21 | boost::math::quadrature::trapezoidal(func, a, b); | |
22 | } | |
1e59de90 TL |
23 | |
24 | #endif |