Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm authored Jan 18, 2025
1 parent 119286a commit 125f897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ We compute the smallest enclosing circle/ball for a set of points.

```bash
# create a numpy array where each row corresponds to a point
# Each row should have the same number of elements and they
# can be higher than 2... :-)
points = np.array([[2.0, 4.0], [0, 0], [2.5, 2.0]])

# compute the circle, pick any solver supporting conic constraints
circle = min_circle_cvx(points, solver="CLARABEL")

# display the points & the circle
Expand Down

0 comments on commit 125f897

Please sign in to comment.