From b7dd4511cfde84cc215f751985da88aabf79072d Mon Sep 17 00:00:00 2001 From: Van Dung Nguyen <vdg.nguyen@gmail.com> Date: Fri, 30 Oct 2020 12:43:00 +0100 Subject: [PATCH] new default option --- NonLinearSolver/modelReduction/Tree.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NonLinearSolver/modelReduction/Tree.cpp b/NonLinearSolver/modelReduction/Tree.cpp index 0460ae75c..953615dbc 100644 --- a/NonLinearSolver/modelReduction/Tree.cpp +++ b/NonLinearSolver/modelReduction/Tree.cpp @@ -1403,7 +1403,8 @@ bool Tree::removeLeavesWithZeroContribution(double tol) Msg::Error("removeLeavesWithZeroContribution: maximal number of iterations (%d) reaches", maxIterRemove); Msg::Exit(0); } - bool okLeaf = removeZeroBranches(tol); + //bool okLeaf = removeZeroBranches(tol); + bool okLeaf = removeZeroLeaves(tol,true); bool okMerge = treeMerging(); // check if (okLeaf || okLeaf) -- GitLab