Skip to content

Commit 2ec0247

Browse files
committed
f
1 parent 09a4d3a commit 2ec0247

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

glomap/estimators/bundle_adjustment.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ void BundleAdjuster::ParameterizeVariables(
301301
if (sensor_id.type == SensorType::CAMERA) {
302302
Eigen::Quaterniond& rotation = rig.SensorFromRig(sensor_id).rotation;
303303
if (problem_->HasParameterBlock(rotation.coeffs().data())) {
304-
colmap::SetQuaternionManifold(
305-
problem_.get(), rotation.coeffs().data());
304+
colmap::SetQuaternionManifold(problem_.get(),
305+
rotation.coeffs().data());
306306
}
307307
}
308308
}

glomap/estimators/bundle_adjustment.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@ class BundleAdjuster {
7070
std::unordered_map<track_t, Track>& tracks);
7171

7272
// Parameterize the variables, set some variables to be constant if desired
73-
void ParameterizeVariables(
74-
std::unordered_map<rig_t, Rig>& rigs,
75-
std::unordered_map<camera_t, Camera>& cameras,
76-
std::unordered_map<frame_t, Frame>& frames,
77-
std::unordered_map<track_t, Track>& tracks);
73+
void ParameterizeVariables(std::unordered_map<rig_t, Rig>& rigs,
74+
std::unordered_map<camera_t, Camera>& cameras,
75+
std::unordered_map<frame_t, Frame>& frames,
76+
std::unordered_map<track_t, Track>& tracks);
7877

7978
BundleAdjusterOptions options_;
8079

0 commit comments

Comments
 (0)