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: Singular Matrix error in 3D points #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

akchan
Copy link

@akchan akchan commented Jun 23, 2024

This pull request applies changes proposed by OnDraganov in the issue #6.

Problem

Singular Matrix error raises in numpy.linalg.solve() function in case of coplanar points.

Solution

Change the judge condition in the circle_contains(). OnDraganov proposed this solution in issue #6 .

Four test cases were also added to test_miniball.py.

I have confirmed the test run by the command below successfully.

# python-3.11.8
# pytest-8.1.1
# pluggy-1.4.0
pytest test_miniball.py

akchan added 2 commits June 23, 2024 11:25
Apply changes proposed by OnDraganov.
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.

1 participant