summaryrefslogtreecommitdiff
path: root/gerbonara/tests/test_kicad_footprints.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/tests/test_kicad_footprints.py')
-rw-r--r--gerbonara/tests/test_kicad_footprints.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/tests/test_kicad_footprints.py b/gerbonara/tests/test_kicad_footprints.py
index 07d64a7..663037b 100644
--- a/gerbonara/tests/test_kicad_footprints.py
+++ b/gerbonara/tests/test_kicad_footprints.py
@@ -142,7 +142,7 @@ def _parse_path_d(path):
cx = mx - nx*nl
cy = my - ny*nl
- (min_x, min_y), (max_x, max_y) = arc_bounds(last_x, last_y, ax, ay, cx-last_x, cy-last_y, clockwise=(not sweep))
+ (min_x, min_y), (max_x, max_y) = arc_bounds(last_x, last_y, ax, ay, cx, cy, clockwise=(not sweep))
min_x -= sr
min_y -= sr
max_x += sr