mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Merge pull request #574 from boostorg/execution_hdr_fix
Fix pp-logic for univariate_statistics_test.cpp
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
// Support compilers with P0024R2 implemented without linking TBB
|
||||
// https://en.cppreference.com/w/cpp/compiler_support
|
||||
#if (__cplusplus > 201700 || _MSVC_LANG > 201700) && (__GNUC__ > 9 || (__clang_major__ > 9 && defined __GLIBCXX__) || _MSC_VER > 1927)
|
||||
#ifndef BOOST_NO_CXX17_HDR_EXECUTION
|
||||
#include <execution>
|
||||
#endif
|
||||
|
||||
@@ -931,8 +931,8 @@ int main()
|
||||
{
|
||||
// Support compilers with P0024R2 implemented without linking TBB
|
||||
// https://en.cppreference.com/w/cpp/compiler_support
|
||||
#if (__cplusplus > 201700 || _MSVC_LANG > 201700) && (__GNUC__ > 9 || (__clang_major__ > 9 && defined __GLIBCXX__) || _MSC_VER > 1927)
|
||||
|
||||
#ifndef BOOST_NO_CXX17_HDR_EXECUTION
|
||||
|
||||
test_mean<float>(std::execution::seq);
|
||||
test_mean<float>(std::execution::par);
|
||||
test_mean<double>(std::execution::seq);
|
||||
|
||||
Reference in New Issue
Block a user