8000 Fix Ceres version test by drkoller · Pull Request #1954 · colmap/colmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Ceres version test #1954

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2023
Merged

Fix Ceres version test #1954

merged 1 commit into from
Jun 9, 2023

Conversation

drkoller
Copy link
Contributor
@drkoller drkoller commented Jun 8, 2023

In #1477, checks of the Ceres version were added to choose between the newer ceres::Manifold or the deprecated ceres::LocalParameterization interface, e.g.:

#if CERES_VERSION_MAJOR >= 2 && CERES_VERSION_MINOR >= 1

However, this test will incorrectly return False for Ceres versions 3.0, 4.0, etc. This PR fixes this bug so that True is returned for all Ceres versions 2.1 and beyond.

@ahojnnes
Copy link
Contributor
ahojnnes commented Jun 9, 2023

Great, thanks for the fix.

@ahojnnes ahojnnes merged commit 3cf97d0 into colmap:dev Jun 9, 2023
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
0