File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,9 @@ void OptionManager::AddGlobalPositionerOptions() {
197197 AddAndRegisterDefaultOption (
198198 " GlobalPositioning.max_num_iterations" ,
199199 &mapper->opt_gp .solver_options .max_num_iterations );
200+ AddAndRegisterDefaultOption (
201+ " GlobalPositioning.function_tolerance" ,
202+ &mapper->opt_gp .solver_options .function_tolerance );
200203
201204 // TODO: move the constrain type selection here
202205}
@@ -224,6 +227,9 @@ void OptionManager::AddBundleAdjusterOptions() {
224227 AddAndRegisterDefaultOption (
225228 " BundleAdjustment.max_num_iterations" ,
226229 &mapper->opt_ba .solver_options .max_num_iterations );
230+ AddAndRegisterDefaultOption (
231+ " BundleAdjustment.function_tolerance" ,
232+ &mapper->opt_ba .solver_options .function_tolerance );
227233}
228234void OptionManager::AddTriangulatorOptions () {
229235 if (added_triangulation_options_) {
You can’t perform that action at this time.
0 commit comments