@@ -137,7 +137,6 @@ TEST(RotationEstimator, WithoutNoise) {
137137 colmap::SynthesizeDataset (
138138 synthetic_dataset_options, >_reconstruction, &database);
139139
140- FLAGS_v = 2 ;
141140 ViewGraph view_graph;
142141 std::unordered_map<rig_t , Rig> rigs;
143142 std::unordered_map<camera_t , Camera> cameras;
@@ -181,7 +180,6 @@ TEST(RotationEstimator, WithoutNoiseWithNoneTrivialKnownRig) {
181180 colmap::SynthesizeDataset (
182181 synthetic_dataset_options, >_reconstruction, &database);
183182
184- FLAGS_v = 2 ;
185183 ViewGraph view_graph;
186184 std::unordered_map<rig_t , Rig> rigs;
187185 std::unordered_map<camera_t , Camera> cameras;
@@ -225,7 +223,6 @@ TEST(RotationEstimator, WithoutNoiseWithNoneTrivialUnknownRig) {
225223 colmap::SynthesizeDataset (
226224 synthetic_dataset_options, >_reconstruction, &database);
227225
228- FLAGS_v = 2 ;
229226 ViewGraph view_graph;
230227 std::unordered_map<rig_t , Rig> rigs;
231228 std::unordered_map<camera_t , Camera> cameras;
@@ -265,7 +262,6 @@ TEST(RotationEstimator, WithoutNoiseWithNoneTrivialUnknownRig) {
265262TEST (RotationEstimator, WithNoiseAndOutliers) {
266263 const std::string database_path = colmap::CreateTestDir () + " /database.db" ;
267264
268- // FLAGS_v = 1;
269265 colmap::Database database (database_path);
270266 colmap::Reconstruction gt_reconstruction;
271267 colmap::SyntheticDatasetOptions synthetic_dataset_options;
@@ -312,7 +308,6 @@ TEST(RotationEstimator, WithNoiseAndOutliers) {
312308TEST (RotationEstimator, WithNoiseAndOutliersWithNonTrivialKnownRigs) {
313309 const std::string database_path = colmap::CreateTestDir () + " /database.db" ;
314310
315- // FLAGS_v = 1;
316311 colmap::Database database (database_path);
317312 colmap::Reconstruction gt_reconstruction;
318313 colmap::SyntheticDatasetOptions synthetic_dataset_options;
@@ -358,7 +353,6 @@ TEST(RotationEstimator, WithNoiseAndOutliersWithNonTrivialKnownRigs) {
358353TEST (RotationEstimator, RefineGravity) {
359354 const std::string database_path = colmap::CreateTestDir () + " /database.db" ;
360355
361- // FLAGS_v = 2;
362356 colmap::Database database (database_path);
363357 colmap::Reconstruction gt_reconstruction;
364358 colmap::SyntheticDatasetOptions synthetic_dataset_options;
@@ -401,7 +395,6 @@ TEST(RotationEstimator, RefineGravity) {
401395TEST (RotationEstimator, RefineGravityWithNontrivialRigs) {
402396 const std::string database_path = colmap::CreateTestDir () + " /database.db" ;
403397
404- // FLAGS_v = 2;
405398 colmap::Database database (database_path);
406399 colmap::Reconstruction gt_reconstruction;
407400 colmap::SyntheticDatasetOptions synthetic_dataset_options;
0 commit comments