Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix numpy exception with polygon scaling #904

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

wawanbreton
Copy link
Contributor

Add an extra check to ensure that calling scale() on an empty Polygon will not generate an exception.

CURA-10004

@github-actions
Copy link

github-actions bot commented Sep 11, 2023

Unit Test Results

2 406 tests  ±0   2 391 ✔️ ±0   30s ⏱️ ±0s
       1 suites ±0        15 💤 ±0 
       1 files   ±0          0 ±0 

Results for commit 027f923. ± Comparison against base commit bf0f6b0.

♻️ This comment has been updated with latest results.

@casperlamboo casperlamboo merged commit aac43c3 into main Sep 19, 2023
11 checks passed
@casperlamboo casperlamboo deleted the CURA-10004_fix_crash_small_rotations branch September 19, 2023 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants