mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0023307: Same variable value verified twice in TopOpeBRepTool_TOOL.cxx
Checking both variable values: onf, onl.
This commit is contained in:
parent
fccb487b5f
commit
f6475f0339
@ -327,7 +327,7 @@ Standard_Integer TopOpeBRepTool_TOOL::OnBoundary(const Standard_Real par, const
|
||||
|
||||
Standard_Boolean onf = Abs(par-first)<tolp;
|
||||
Standard_Boolean onl = Abs(par-last)<tolp;
|
||||
Standard_Boolean onfl = (onf || onf);
|
||||
Standard_Boolean onfl = (onf || onl);
|
||||
if (onfl && closed) return CLOSING;
|
||||
if (onf) return FORWARD;
|
||||
if (onl) return REVERSED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user