Skip to content

Commit

Permalink
Fix compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bqminh committed Jul 8, 2020
1 parent 85259eb commit 7d483fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion alignment/alignment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <Eigen/LU>
#ifdef USE_BOOST
#include <boost/math/distributions/binomial.hpp>
#include <boost/container_hash/hash.hpp>
#endif


Expand Down
2 changes: 1 addition & 1 deletion tree/phylotreesse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void PhyloTree::setNumThreads(int num_threads) {
if (!isSuperTree() && aln && num_threads > 1 && num_threads > aln->getNPattern()/8) {
outWarning(convertIntToString(num_threads) + " threads for alignment length " +
convertIntToString(aln->getNPattern()) + " will slow down analysis");
num_threads = max(aln->getNPattern()/8,1UL);
num_threads = max(aln->getNPattern()/8,(size_t)1);
}
this->num_threads = num_threads;
}
Expand Down

0 comments on commit 7d483fb

Please sign in to comment.