From 3fc7692b4a72f62ef944532d554652f369543c6d Mon Sep 17 00:00:00 2001 From: John Lambert Date: Tue, 31 Aug 2021 08:35:43 -0600 Subject: [PATCH] import align from gtsam directly --- python/gtsam/tests/test_Pose2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/gtsam/tests/test_Pose2.py b/python/gtsam/tests/test_Pose2.py index f18eab079..213de655e 100644 --- a/python/gtsam/tests/test_Pose2.py +++ b/python/gtsam/tests/test_Pose2.py @@ -13,7 +13,7 @@ import unittest import numpy as np import gtsam -from gtsam import Point2, Point2Pairs, Pose2 +from gtsam import align, 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 = Pose2.align(ab_pairs) + bTa = align(ab_pairs) aTb = bTa.inverse() assert aTb is not None