release/4.3a0
senselessdev1 2023-08-30 10:28:18 -04:00
parent db6a559fb9
commit f205ff3766
1 changed files with 1 additions and 2 deletions

View File

@ -29,8 +29,8 @@ class TestDsfTrackGenerator(GtsamTestCase):
# For each image pair (i1,i2), we provide a (K,2) matrix
# of corresponding keypoint indices (k1,k2).
for (i1,i2), corr_idxs in nontransitive_matches_dict.items():
matches_dict = {}
for (i1,i2), corr_idxs in nontransitive_matches_dict.items():
matches_dict[IndexPair(i1, i2)] = corr_idxs
tracks = gtsam.gtsfm.tracksFromPairwiseMatches(
@ -165,7 +165,6 @@ def get_dummy_keypoints_list() -> List[Keypoints]:
return keypoints_list
def get_nontransitive_matches() -> Dict[Tuple[int, int], np.ndarray]:
"""Set up correspondences for each (i1,i2) pair that violates transitivity.