1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

Coding - Isolate long attached comments for clang-format #259

Automatically update code with clang-format disabling for avoiding formatting.
You can check the python script in GitHub PR
This commit is contained in:
dpasukhi
2025-01-16 20:15:29 +00:00
parent 9a6854774d
commit f91655b0c5
475 changed files with 1380 additions and 8 deletions

View File

@@ -416,7 +416,9 @@ void math_GlobOptMin::computeGlobalExtremum(Standard_Integer j)
aPrevVal = d;
myFunc->Value(myX, d);
r1 = (d + myZ * myC * myLastStep - myF) * myZ; // Evtushenko estimation.
// clang-format off
r2 = ((d + aPrevVal - myC * myLastStep) * 0.5 - myF) * myZ; // Shubert / Piyavsky estimation.
// clang-format on
r = Min(r1, r2);
if(r > myE3)
{