mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 22:30:35 +08:00
lint fixes
Summary: Ran the linter. TODO: need to update the linter as per D21353065. Reviewed By: bottler Differential Revision: D21362270 fbshipit-source-id: ad0e781de0a29f565ad25c43bc94a19b1828c020
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0c595dcf5b
commit
0eca74fa5f
@@ -95,7 +95,7 @@ class TestSamplePoints(TestCaseMixin, unittest.TestCase):
|
||||
x, y, z = samples[1, :].unbind(1)
|
||||
radius = torch.sqrt(x ** 2 + y ** 2 + z ** 2)
|
||||
|
||||
self.assertClose(radius, torch.ones((num_samples)))
|
||||
self.assertClose(radius, torch.ones(num_samples))
|
||||
|
||||
# Pyramid: points shoudl lie on one of the faces.
|
||||
pyramid_verts = samples[2, :]
|
||||
|
||||
Reference in New Issue
Block a user