2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

More SYCL workarounds

This commit is contained in:
Matt Borland
2024-07-23 14:13:02 -04:00
parent dbee257edc
commit 9ed0f2ba52

View File

@@ -8,6 +8,7 @@
#ifndef BOOST_MATH_TEST_OUT_OF_RANGE_HPP
#define BOOST_MATH_TEST_OUT_OF_RANGE_HPP
#include <boost/math/tools/config.hpp>
#include <boost/math/special_functions/next.hpp>
#include <boost/test/unit_test.hpp>
@@ -30,6 +31,11 @@ but does *not* check finite but out-of-range parameters to the constructor
because these are specific to each distribution.
*/
#if defined(BOOST_CHECK_THROW) && defined(BOOST_MATH_NO_EXCEPTIONS)
# undef BOOST_CHECK_THROW
# define BOOST_CHECK_THROW(x, y)
#endif
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4127)