Skip to content

Commit

Permalink
Add type to dataclass
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTov committed May 14, 2024
1 parent e22fffa commit da0c728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion znvis/mesh/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Mesh:
"""

material: Material = field(default_factory=lambda: Material())
base_direction = field(default_factory=lambda: np.array([1, 0, 0]))
base_direction: np.ndarray = field(default_factory=lambda: np.array([1, 0, 0]))

def __post_init__(self):
"""
Expand Down

0 comments on commit da0c728

Please sign in to comment.