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 for issue #384 does not work when numpy is installed #386

Closed
santoshphilip opened this issue May 27, 2022 · 1 comment
Closed

fix for issue #384 does not work when numpy is installed #386

santoshphilip opened this issue May 27, 2022 · 1 comment

Comments

@santoshphilip
Copy link
Owner

Problem: surface.area (for Building:Surface:Detailed) does not work when first 3 points are linear and numpy is installed.

This is because numpy does not throw a ZeroDivisionError but raises a RuntimeWarning.

@santoshphilip
Copy link
Owner Author

fixed issue #386

Problem: surface.area (for Building:Surface:Detailed) does not work when first 3 points are linear and numpy is installed.
Solution: This is because numpy does not throw a ZeroDivisionError but raises a RuntimeWarning. Ensure that a ZeroDivisionError is raised in geometry.surface.unit_normal

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

No branches or pull requests

1 participant