Merge pull request #1724 from pshriwise/rp_fix

Typo fix in RectangularParallelepiped.__pos__ method.
This commit is contained in:
Paul Romano 2020-11-12 21:44:44 -06:00 committed by GitHub
commit 2115cae40a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,7 +163,7 @@ class RectangularParallelepiped(CompositeSurface):
return +self.xmin & -self.xmax & +self.ymin & -self.ymax & +self.zmin & -self.zmax
def __pos__(self):
return -self.xmin | +self.ymax | -self.ymin | +self.ymax | -self.zmin | +self.zmax
return -self.xmin | +self.xmax | -self.ymin | +self.ymax | -self.zmin | +self.zmax
class XConeOneSided(CompositeSurface):