Skip to content

Commit

Permalink
rutther
Browse files Browse the repository at this point in the history
  • Loading branch information
yfukai committed Dec 14, 2024
1 parent 7f41c15 commit 99f0381
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/laptrack/_typing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
# Float = Union[float, np.float64, np.float32, np.float16]
Int = TypeVar("Int", bound=np.integer)
Float = TypeVar("Float", bound=np.floating)
Number = TypeVar("Number", bound=np.number)

NumArray = npt.NDArray[Union[Float, Int]]
NumArray = npt.NDArray[Number]
FloatArray = npt.NDArray[Float]
IntArray = npt.NDArray[Int]

Expand Down

0 comments on commit 99f0381

Please sign in to comment.