summaryrefslogtreecommitdiff
path: root/gerbonara/apertures.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/apertures.py')
-rw-r--r--gerbonara/apertures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/apertures.py b/gerbonara/apertures.py
index bdebf50..b411412 100644
--- a/gerbonara/apertures.py
+++ b/gerbonara/apertures.py
@@ -452,7 +452,7 @@ class PolygonAperture(Aperture):
def _params(self, unit=None):
rotation = self.rotation % (2*math.pi / self.n_vertices)
- if math.isclose(rotation, 0, abs_tol=1-e6):
+ if math.isclose(rotation, 0, abs_tol=1e-6):
rotation = None
if self.hole_dia is not None: