From 138f6504e767b906ef263f483c6a7d355bc2dc48 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 11 Apr 2023 00:52:07 +0200 Subject: Fix failing tests --- gerbonara/apertures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerbonara/apertures.py') 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: -- cgit