Skip to content

Commit f5590e0

Browse files
authored
Merge pull request #127 from petercorke/fix/pgraph-1.0-ugraph-dim
fix: don't pass a positional argument to pgraph.UGraph
2 parents 43b113e + 6fb62e5 commit f5590e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/machinevisiontoolbox/BundleAdjust.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def __init__(self, camera: CentralCamera) -> None:
205205
# - Observation for edges representing the observation of a landmark by
206206
# a view
207207
#
208-
self.g = pgraph.UGraph(6) # initialize the graph, nodes have 6D coordinates
208+
self.g = pgraph.UGraph() # views have 6D coordinates, landmarks 3D
209209

210210
self._nviews = 0 # number of cameras
211211
self._nlandmarks = 0 # number of landmark points

0 commit comments

Comments
 (0)