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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user