Skip to content

Commit 75420c3

Browse files
committed
d
1 parent f927627 commit 75420c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

glomap/scene/view_graph.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ namespace glomap {
99
int ViewGraph::KeepLargestConnectedComponents(
1010
std::unordered_map<frame_t, Frame>& frames,
1111
std::unordered_map<image_t, Image>& images) {
12+
EstablishAdjacencyList();
1213
EstablishAdjacencyListFrame(images);
1314

1415
int num_comp = FindConnectedComponent();
@@ -72,6 +73,7 @@ int ViewGraph::MarkConnectedComponents(
7273
std::unordered_map<frame_t, Frame>& frames,
7374
std::unordered_map<image_t, Image>& images,
7475
int min_num_img) {
76+
EstablishAdjacencyList();
7577
EstablishAdjacencyListFrame(images);
7678

7779
int num_comp = FindConnectedComponent();

0 commit comments

Comments
 (0)