Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
natemacfadden committed Aug 10, 2024
1 parent 1f368cf commit 841ba81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cytools/cone.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def contains(self, pt: "list-like", eps: float = 0) -> bool:
if len(H):
contained = np.all(H@pt >= eps, axis=0)
else:
contained = [True for _ in pt]
contained = [True for _ in pt.shape[1]]

# return
if len(contained)==1:
Expand Down

0 comments on commit 841ba81

Please sign in to comment.