lint fix: raise from None

Summary: New linter warning is complaining about `raise` inside `except`.

Reviewed By: kjchalup

Differential Revision: D37819264

fbshipit-source-id: 56ad5d0558ea39e1125f3c76b43b7376aea2bc7c
This commit is contained in:
Jeremy Reizenstein
2022-07-14 04:21:44 -07:00
committed by Facebook GitHub Bot
parent 8ba9a694ee
commit 8e0c82b89a
6 changed files with 12 additions and 12 deletions

View File

@@ -141,7 +141,7 @@ def iterative_closest_point(
"(minibatch, dim, dim), T is a batch of dim-dimensional "
"translations of shape (minibatch, dim) and s is a batch "
"of scalars of shape (minibatch,)."
)
) from None
# apply the init transform to the input point cloud
Xt = _apply_similarity_transform(Xt, R, T, s)
else: