Skip to content

Commit 17d1e64

Browse files
committed
throw in an extra typecheck
1 parent 56f0c58 commit 17d1e64

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

meshgpt_pytorch/meshgpt_pytorch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def derive_angle(x, y, eps = 1e-5):
153153
return z.clip(-1 + eps, 1 - eps).arccos()
154154

155155
@torch.no_grad()
156+
@typecheck
156157
def get_derived_face_features(
157158
face_coords: Float['b nf nvf 3'] # 3 or 4 vertices with 3 coordinates
158159
):

meshgpt_pytorch/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.2.21'
1+
__version__ = '1.2.22'

0 commit comments

Comments
 (0)