mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0023301: Comparing variable to itself in ShapeUpgrade_WireDivide.cxx
Fixing self-comparison.
This commit is contained in:
@@ -369,7 +369,7 @@ void ShapeUpgrade_WireDivide::Perform ()
|
|||||||
theSplit2dTool->SetSplitValues (theKnots2d);
|
theSplit2dTool->SetSplitValues (theKnots2d);
|
||||||
theSplit2dTool->Perform (Standard_True);
|
theSplit2dTool->Perform (Standard_True);
|
||||||
Handle(TColStd_HSequenceOfReal) revKnots2d = theSplit2dTool->SplitValues();
|
Handle(TColStd_HSequenceOfReal) revKnots2d = theSplit2dTool->SplitValues();
|
||||||
if(revKnots2d->Length()!=revKnots2d->Length()) {
|
if(revKnots2d->Length()!=theKnots2d->Length()) {
|
||||||
isSeam = Standard_False;
|
isSeam = Standard_False;
|
||||||
#ifdef DEB
|
#ifdef DEB
|
||||||
cout << "Error: ShapeUpgrade_WireDivide: seam has different splitting values on pcurvesd" << endl;
|
cout << "Error: ShapeUpgrade_WireDivide: seam has different splitting values on pcurvesd" << endl;
|
||||||
|
Reference in New Issue
Block a user