Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion opensfm/src/sfm/src/ba_helpers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool>()) {
const auto pos = shot.GetShotMeasurements().gps_position_;
Expand Down
Loading