projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d44e14e
)
0025954: GeomPlate_Surface::SetBounds formatting/logic mismatch
author
Pawel
<pawel-kowalski@wp.pl>
Tue, 17 Mar 2015 16:43:21 +0000
(17:43 +0100)
committer
apn
<apn@opencascade.com>
Thu, 26 Mar 2015 12:33:11 +0000
(15:33 +0300)
Corrected logic/formatting discrepancy.
src/GeomPlate/GeomPlate_Surface.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/GeomPlate/GeomPlate_Surface.cxx
b/src/GeomPlate/GeomPlate_Surface.cxx
index
693940f
..
192d9b9
100644
(file)
--- a/
src/GeomPlate/GeomPlate_Surface.cxx
+++ b/
src/GeomPlate/GeomPlate_Surface.cxx
@@
-376,10
+376,8
@@
Handle(Geom_Surface) GeomPlate_Surface::CallSurfinit() const
void GeomPlate_Surface::SetBounds(const Standard_Real Umin, const Standard_Real Umax, const Standard_Real Vmin, const Standard_Real Vmax)
{
if ((Umin>Umax) || (Vmin>Vmax)) Standard_Failure::Raise("Bounds haven't the good sense");
- else
- myUmin=Umin;myUmax=Umax;myVmin=Vmin;myVmax=Vmax;
if ((Umin==Umax) || (Vmin==Vmax)) Standard_Failure::Raise("Bounds are equal");
-
+ myUmin=Umin;myUmax=Umax;myVmin=Vmin;myVmax=Vmax;
}