We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eeb9678 commit a0599e8Copy full SHA for a0599e8
1 file changed
opensfm/src/bundle/src/bundle_adjuster.cc
@@ -570,7 +570,7 @@ void BundleAdjuster::Run() {
570
problem.SetParameterBlockConstant(data.data());
571
}else if (i.second.GetValue().GetProjectionType() == geometry::ProjectionType::BROWN){
572
// Keep aspect ratio constant (BROWN only)
573
-#if CERES_VERSION_MAJOR > 1
+#if CERES_VERSION_MAJOR == 2 && CERES_VERSION_MINOR >= 2
574
ceres::SubsetManifold *subset_parameterization = new ceres::SubsetManifold(data.size(), { 6 });
575
problem.SetManifold(data.data(), subset_parameterization);
576
#else
0 commit comments