Skip to content

Commit 100f289

Browse files
committed
simplify type
1 parent ccd8673 commit 100f289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adaptive/learner/triangulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def fast_norm(v: Union[Tuple[float, ...], np.ndarray]) -> float:
2626

2727
def fast_2d_point_in_simplex(
2828
point: Point, simplex: SimplexPoints, eps: float = 1e-8
29-
) -> Union[bool, np.bool_]:
29+
) -> bool:
3030
(p0x, p0y), (p1x, p1y), (p2x, p2y) = simplex
3131
px, py = point
3232

0 commit comments

Comments
 (0)