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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user