directly import only classes from gtsam

release/4.3a0
John Lambert 2021-08-31 14:14:37 -04:00 committed by GitHub
parent 3fc7692b4a
commit bc641f893d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import unittest
import numpy as np
import gtsam
from gtsam import align, Point2, Point2Pairs, Pose2
from gtsam import Point2, Point2Pairs, Pose2
from gtsam.utils.test_case import GtsamTestCase
@ -58,7 +58,7 @@ class TestPose2(GtsamTestCase):
# fmt: on
ab_pairs = Point2Pairs(list(zip(pts_a, pts_b)))
bTa = align(ab_pairs)
bTa = gtsam.align(ab_pairs)
aTb = bTa.inverse()
assert aTb is not None