We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae208c3 commit c039b60Copy full SHA for c039b60
src/numerics/rootSolvers/rootSolver/rootSolver.C
@@ -42,7 +42,7 @@ void Foam::rootSolver::initialise(const scalarList& x) const
42
tolerances_ = absTolerances_;
43
forAll(x, i)
44
{
45
- tolerances_[i] = max(relTolerances_[i]*mag(x[i]), tolerances_[i]);
+ tolerances_[i] = max(relTolerances_[i]*mag(x[i]), absTolerances_[i]);
46
}
47
48
0 commit comments