Update openmc/model/surface_composite.py

Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
This commit is contained in:
Ethan Peterson 2023-02-16 12:27:15 -05:00 committed by GitHub
parent 637080a0c2
commit 1a2d1237da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -785,7 +785,6 @@ class Polygon(CompositeSurface):
if np.sum(ypts*(np.roll(xpts, 1) - np.roll(xpts, -1))) < 0:
points = points[::-1, :]
# Check if polygon is self-intersecting by comparing edges pairwise
n = len(points)
for i in range(n):