Skip to content

Commit

Permalink
Test max_attempts = 15
Browse files Browse the repository at this point in the history
  • Loading branch information
janbridley committed Feb 13, 2023
1 parent aa69f19 commit 2863227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coxeter/shapes/polyhedron.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def points_within_sphere(points, center, radius):
# The algorithm in miniball involves solving a linear system and
# can therefore occasionally be somewhat unstable. Applying a
# random rotation will usually fix the issue.
max_attempts = 20
max_attempts = 15
attempt = 0
current_rotation = [1, 0, 0, 0]
vertices = self.vertices
Expand Down

0 comments on commit 2863227

Please sign in to comment.