mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0023301: Comparing variable to itself in ShapeUpgrade_WireDivide.cxx
Fixing self-comparison.
This commit is contained in:
parent
5e335c5bf7
commit
dede2e21f6
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user