Skip to content

Commit d7eb390

Browse files
committed
Update the default setting for parallelizing building an initial tree
1 parent cf6c9a0 commit d7eb390

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tree/tree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ void cmaple::Tree::doPlacementTemplate(const int num_threads, std::ostream& out_
749749
// update the threshold to stop the search earlier if starting from placements found from the parallel search
750750
const int bk_failure_limit_sample = params->failure_limit_sample;
751751
if (parallel_search)
752-
params->failure_limit_sample = 4;
752+
params->failure_limit_sample = 3;
753753
for (size_t j = 0; j < current_chunk_size; ++j)
754754
{
755755
// increase i and move the sequence pointer

utils/tools.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ cmaple::Params::Params() {
575575
threshold_prob = 1e-8;
576576
mutation_update_period = 25;
577577
min_taxa_parallel_placement = 1000;
578-
num_samples_per_thread = 3;
578+
num_samples_per_thread = 5;
579579
upward_search_extension = 5;
580580
failure_limit_sample = 5;
581581
failure_limit_subtree = 4;

0 commit comments

Comments
 (0)