mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0031007: Coding - eliminate warnings issued while compiling with -pedantic flag
Removed duplicating semicolons ;;. Removed redundant semicolon at namespace closure.
This commit is contained in:
@@ -452,7 +452,7 @@ void math_BFGS::Perform(math_MultipleVarFunctionWithGradient& F,
|
||||
o << " Status = Done \n";
|
||||
o <<" Location Vector = " << Location() << "\n";
|
||||
o <<" Minimum value = "<< Minimum()<<"\n";
|
||||
o <<" Number of iterations = "<<NbIterations() <<"\n";;
|
||||
o <<" Number of iterations = "<<NbIterations() <<"\n";
|
||||
}
|
||||
else {
|
||||
o<< " Status = not Done because " << (Standard_Integer)TheStatus << "\n";
|
||||
|
@@ -459,7 +459,7 @@ void math_TrigonometricFunctionRoots::Perform(const Standard_Real A,
|
||||
if(NbSol<4) {
|
||||
Standard_Integer startIndex = NbSol + 1;
|
||||
for( Standard_Integer solIt = startIndex; solIt <= 4; solIt++) {
|
||||
Teta = M_PI + IntegerPart(Mod)*2.0*M_PI;;
|
||||
Teta = M_PI + IntegerPart(Mod)*2.0*M_PI;
|
||||
X = Teta - MyBorneInf;
|
||||
if ((X >= (-Epsilon(Delta))) && (X <= Delta + Epsilon(Delta))) {
|
||||
if (Abs(A-C+E) <= Eps) {
|
||||
|
Reference in New Issue
Block a user