]> OCCT Git - occt.git/commit
0030492: Foundation Classes - math_BFGS fails if starting point is exactly the minimum
authoraml <aml@opencascade.com>
Fri, 3 Jun 2022 09:30:22 +0000 (12:30 +0300)
committerafokin <afokin@opencascade.com>
Thu, 9 Jun 2022 17:34:57 +0000 (20:34 +0300)
commitbf8b7e08f16d60d0487f4bdf98ef27db1e43fc2a
treeb95b7480fb3f766db6acecf08029a94bc4c0d482
parent24e4b3c83b237dad583f87c983eb06433d56c203
0030492: Foundation Classes - math_BFGS fails if starting point is exactly the minimum

Fix affects BFGS optimization methods by checking convergence as the first step on each iteration. FRPR works well, but it is updated as well since its logic potentially dangerous.
src/QABugs/QABugs_19.cxx
src/math/math_BFGS.cxx
src/math/math_FRPR.cxx
tests/bugs/fclasses/bug30492 [new file with mode: 0644]