Skip to content
Snippets Groups Projects
Commit b7dd4511 authored by Van Dung NGUYEN's avatar Van Dung NGUYEN
Browse files

new default option

parent 1da210da
No related branches found
No related tags found
1 merge request!309Master
...@@ -1403,7 +1403,8 @@ bool Tree::removeLeavesWithZeroContribution(double tol) ...@@ -1403,7 +1403,8 @@ bool Tree::removeLeavesWithZeroContribution(double tol)
Msg::Error("removeLeavesWithZeroContribution: maximal number of iterations (%d) reaches", maxIterRemove); Msg::Error("removeLeavesWithZeroContribution: maximal number of iterations (%d) reaches", maxIterRemove);
Msg::Exit(0); Msg::Exit(0);
} }
bool okLeaf = removeZeroBranches(tol); //bool okLeaf = removeZeroBranches(tol);
bool okLeaf = removeZeroLeaves(tol,true);
bool okMerge = treeMerging(); bool okMerge = treeMerging();
// check // check
if (okLeaf || okLeaf) if (okLeaf || okLeaf)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment