Skip to content

Commit 5e0f624

Browse files
committed
fix additional inverse
1 parent 652642f commit 5e0f624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytorch_kinematics/transforms/transform3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def transform_normals(self, normals):
406406
msg = "Expected normals to have dim = 2 or dim = 3: got shape %r"
407407
raise ValueError(msg % (normals.shape,))
408408
mat = self._get_matrix_inverse()[:, :3, :3]
409-
normals_out = _broadcast_bmm(normals, mat.inverse())
409+
normals_out = _broadcast_bmm(normals, mat)
410410

411411
# This doesn't pass unit tests. TODO investigate further
412412
# if self._lu is None:

0 commit comments

Comments
 (0)