Skip to content

Commit bb5e44e

Browse files
committed
Remove unused error
1 parent 4cc87ef commit bb5e44e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tree/tree.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6197,12 +6197,12 @@ RealNumType cmaple::Tree::improveSubTree(const Index node_index,
61976197
opt_mid_bottom_blength);
61986198

61996199
// validate the new placement cost
6200-
if (best_lh_diff < -1e50) {
6200+
/*if (best_lh_diff < -1e50) {
62016201
throw std::logic_error(
62026202
"Likelihood cost is very heavy, this might mean that the "
62036203
"reference used is not the same used to generate the input "
62046204
"MAPLE file");
6205-
}
6205+
}*/
62066206

62076207
if (best_lh_diff + thresh_placement_cost > best_lh && tree_search_type != FAST_TREE_SEARCH) {
62086208
// check and apply SPR move

0 commit comments

Comments
 (0)