add namespace hack to prevent gtsam.gtsam.gtsfm
parent
f9971f5049
commit
73fd3f9dc2
|
@ -0,0 +1,4 @@
|
|||
# This trick is to allow direct import of sub-modules
|
||||
# without this, we can only do `from gtsam.gtsam.gtsfm import X`
|
||||
# with this trick, we can do `from gtsam.gtsfm import X`
|
||||
from .gtsam.gtsfm import *
|
|
@ -9,7 +9,7 @@ import numpy as np
|
|||
|
||||
import gtsam
|
||||
from gtsam import IndexPair, KeypointsVector, MatchIndicesMap, NamedSfmMeasurementVector
|
||||
from gtsam.gtsam.gtsfm import (
|
||||
from gtsam.gtsfm import (
|
||||
DsfTrackGenerator,
|
||||
Keypoints,
|
||||
NamedSfmMeasurement,
|
||||
|
|
Loading…
Reference in New Issue