Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@papjuli
Copy link
Contributor

@papjuli papjuli commented Mar 3, 2025

Fix some code that result in maybe-uninitialized compiler warnings:

  • best_model in ransac and loransac can be uninitialized -> use optional,
  • initialize Eigen matrices to 0 in EstimateRigid3d and other similar functions.

Also, don't turn the warning type off CMakeLists.txt.

Unfortunately, there are 3 other such warnings that originate outside, namely in boost graph.

Copy link
Contributor

@ahojnnes ahojnnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. LGTM.

@ahojnnes ahojnnes merged commit 8850169 into colmap:main Mar 4, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants