Skip to content

Commit 9ee84f7

Browse files
committed
Updates attribute name in test assertion
Fixes an error in the test suite by updating the attribute name used to access correspondence set length. It changes `correspondence_set_` to `correspondence_set`.
1 parent 428d572 commit 9ee84f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/test/test_symmetric_icp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def test_registration_symmetric_icp(self):
166166
result = o3d.pipelines.registration.registration_symmetric_icp(
167167
source, target, 0.1, np.eye(4), estimation, criteria)
168168

169-
assert len(result.correspondence_set_) > 0
169+
assert len(result.correspondence_set) > 0
170170
assert result.fitness > 0.0
171171
assert result.inlier_rmse >= 0.0
172172

@@ -197,7 +197,7 @@ def test_registration_symmetric_icp_with_robust_kernel(self):
197197
result = o3d.pipelines.registration.registration_symmetric_icp(
198198
source, target, 0.1, np.eye(4), estimation, criteria)
199199

200-
assert len(result.correspondence_set_) > 0
200+
assert len(result.correspondence_set) > 0
201201
assert result.fitness > 0.0
202202

203203
def test_registration_symmetric_icp_convergence(self):

0 commit comments

Comments
 (0)