mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-07 13:18:19 +08: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->Perform (Standard_True);
|
||||
Handle(TColStd_HSequenceOfReal) revKnots2d = theSplit2dTool->SplitValues();
|
||||
if(revKnots2d->Length()!=revKnots2d->Length()) {
|
||||
if(revKnots2d->Length()!=theKnots2d->Length()) {
|
||||
isSeam = Standard_False;
|
||||
#ifdef DEB
|
||||
cout << "Error: ShapeUpgrade_WireDivide: seam has different splitting values on pcurvesd" << endl;
|
||||
|
||||
Reference in New Issue
Block a user