We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc57cdd commit bb1348bCopy full SHA for bb1348b
1 file changed
intersect/intersect.py
@@ -91,7 +91,7 @@ def intersection(x1, y1, x2, y2):
91
try:
92
T[:, i] = np.linalg.solve(AA[:, :, i], BB[:, i])
93
except:
94
- T[:, i] = np.Inf
+ T[:, i] = np.inf
95
96
in_range = (T[0, :] >= 0) & (T[1, :] >= 0) & (
97
T[0, :] <= 1) & (T[1, :] <= 1)
0 commit comments