Skip to content
Snippets Groups Projects
Commit ff2fc924 authored by Tobias Leibner's avatar Tobias Leibner
Browse files

fix error with TBB2020

parent 7760aee2
No related branches found
No related tags found
1 merge request!41Fix compilation with icc, several other changes
Pipeline #64934 passed
......@@ -85,6 +85,7 @@ struct AbsoluteValue
{
static T result(const T& val)
{
using Dune::XT::Common::internal::abs;
using std::abs;
return abs(val);
}
......
......@@ -24,7 +24,12 @@
#include <vector>
#if HAVE_TBB
#include <tbb/tbb_stddef.h>
// The new TBB oneAPI does not have this file anymore
#if __has_include(<tbb/tbb_stddef.h>)
# include <tbb/tbb_stddef.h>
# else
# include <tbb/blocked_range.h>
# endif
#endif
#include <dune/xt/grid/type_traits.hh>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment