Skip to content

Commit

Permalink
docs: Docstring for new DType and FloatLike types
Browse files Browse the repository at this point in the history
  • Loading branch information
iwishiwasaneagle committed Apr 26, 2023
1 parent 3b89837 commit dd9551a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jdrones/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
import numpy as np

DType = np.float64
"""Default data type of 64-bit float"""
FloatLike = DType | float
"""Wrapper for multiple float-like types"""

VEC3 = tuple[FloatLike, FloatLike, FloatLike]
""":math:`(a,b,c)` vector"""
Expand Down

0 comments on commit dd9551a

Please sign in to comment.