Skip to content

Commit 91bbd12

Browse files
committed
use tbb version major macro for deciding to use new interface
1 parent 1e321cc commit 91bbd12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stan/math/prim/core/init_threadpool_tbb.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include <tbb/tbb_stddef.h>
99

10-
#if TBB_VERSION_MAJOR == 2020
10+
#if TBB_VERSION_MAJOR >= 2020
1111
#ifndef TBB_INTERFACE_NEW
1212
#define TBB_INTERFACE_NEW
1313
#endif

0 commit comments

Comments
 (0)