1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0023294: Identical sub-expression in 'if-clause'

Correcting probable copy-paste bug.
Test case offset shape_type_i D7 was modified
This commit is contained in:
Pawel Kowalski
2012-08-10 10:45:42 +04:00
parent f3fa1d3509
commit 72d873ef3a
2 changed files with 2 additions and 1 deletions

View File

@@ -928,7 +928,7 @@ Standard_Boolean TestSubShapeType(const TopAbs_ShapeEnum theT1,
}
}
if((aT1==TopAbs_WIRE && aT2==TopAbs_SHELL) ||
(aT1==TopAbs_WIRE && aT2==TopAbs_SHELL)) {
(aT2==TopAbs_WIRE && aT1==TopAbs_SHELL)) {
if(!BOP_WireShell::CheckArgTypes(aT1,aT2,theOP)) {
return Standard_False;
}