Skip to content
Permalink
Browse files

remove tr1 dependency from omptl

  • Loading branch information...
martin-steinegger committed Mar 31, 2019
1 parent 59e9959 commit afd5b7b6ca00cf48056f87154c24e1e5bc2da85d
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/omptl/omptl_algorithm_par.h
  2. +1 −1 lib/omptl/omptl_tools.h
@@ -1700,7 +1700,7 @@ void sort(RandomAccessIterator first, RandomAccessIterator last,

std::vector<char> pivot_used(pivots.size(), false); // can't be bool due to parallel write

const unsigned max_depth = std::floor(std::tr1::log2(P));
const unsigned max_depth = std::floor(std::log2(P));
assert(1u << max_depth <= P);
for (unsigned i = 0; i < max_depth; ++i)
{
@@ -25,7 +25,7 @@
#include <climits>
#include <iterator>

#include <tr1/cmath>
//#include <tr1/cmath>

namespace omptl
{

0 comments on commit afd5b7b

Please sign in to comment.
You can’t perform that action at this time.