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

Coding - Resolving C26498 warning

C26498 - marking variables constexpr to improve performance
This commit is contained in:
dpasukhi
2024-09-09 18:23:10 +00:00
parent 09a69618da
commit 4ab54d60ef
12 changed files with 39 additions and 28 deletions

View File

@@ -67,7 +67,7 @@ void math_BissecNewton::Perform(math_FunctionWithDerivative& F,
return;
}
// Modified by Sergey KHROMOV - Wed Jan 22 12:06:45 2003 Begin
Standard_Real aFTol = RealEpsilon();
constexpr Standard_Real aFTol = RealEpsilon();
// if(fl * fh >= 0.0) {
if(fl * fh > aFTol*aFTol) {