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