diff --git a/opensfm/src/sfm/src/ba_helpers.cc b/opensfm/src/sfm/src/ba_helpers.cc index a92819bd8..8c8d1d5ef 100644 --- a/opensfm/src/sfm/src/ba_helpers.cc +++ b/opensfm/src/sfm/src/ba_helpers.cc @@ -498,7 +498,7 @@ py::dict BAHelpers::BundleShotPoses( shot_cameras[shot_id] = shot.GetCamera()->id; shot_rig_cameras[shot_id] = shot_n_rig_camera.second->id; - const auto is_fixed = shot_ids.find(shot_id) != shot_ids.end(); + const auto is_fixed = shot_ids.find(shot_id) == shot_ids.end(); if (!is_fixed) { if (config["bundle_use_gps"].cast()) { const auto pos = shot.GetShotMeasurements().gps_position_;